普罗米修斯UWSGI STATS导出
uwsgi-exporter的Python项目详细描述
#Uwsgi_出口商 prometheus uwsgi stats exporter允许您将度量从uwsgi[stats server](http://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html)导出到[prometheus](https://prometheus.io/)。
##配置 必须配置uwsgi stats服务器以使用http返回统计信息。
##用法 uwsgi_exporter.py–stats_addr<;uwsgi_stats_server_addr>;–bind_addr<;uwsgi_exporter_listen_addr>;–bind_port<;uwsgi_exporter_listen_port>;
stats地址可以是unix或tcp套接字。bind_address和bind_port有默认值(分别为127.1和1717),不需要。
##示例 uwsgi_exporter.py–stats_addr/path/to/uwsgi_stats.sock–bind_address 127.1–bind_port 1717