bareASGI的普罗米修斯指标
bareasgi-prometheus的Python项目详细描述
普罗米修斯
bareASGI的Prometheus度量(阅读docs)。在
安装
从饼店安装
$ pip install bareASGI-prometheus
使用
中间件可以手动配置,也可以使用助手进行配置。在
手动配置
^{pr2}$助手配置
frombareasgiimportApplicationfrombareasgi_prometheusimportadd_prometheus_middleware...app=Application()add_prometheus_middleware(app)
- 项目
标签: