我如何获得我的普罗米修斯图表?
How do I get to my prometheus graphs?
我已经安装了 python prometheus 客户端 (prometheus-client==0.0.18) 并向我的应用程序添加了几个指标。
我正在导入 运行 普罗米修斯客户端
来自 prometheus_client 进口
...
start_http_server(8100)
我可以在 http://{my_ip}:8100/
上查看我的指标
并根据此处的文档:
https://prometheus.io/docs/introduction/getting_started/
我希望在 /graph 找到表达式浏览器
但这只是让我回到指标页面(斜线后的其他任何内容也是如此)。
我相信您还需要 运行 Prometheus 本身并将其配置为通过 prometheus python 客户端抓取您从应用程序提供的指标。
https://github.com/prometheus/prometheus
您想要的表达式浏览器和图表将在 http:{your_ip}:9090/
提供
我已经安装了 python prometheus 客户端 (prometheus-client==0.0.18) 并向我的应用程序添加了几个指标。
我正在导入 运行 普罗米修斯客户端 来自 prometheus_client 进口 ... start_http_server(8100)
我可以在 http://{my_ip}:8100/
上查看我的指标并根据此处的文档: https://prometheus.io/docs/introduction/getting_started/ 我希望在 /graph 找到表达式浏览器 但这只是让我回到指标页面(斜线后的其他任何内容也是如此)。
我相信您还需要 运行 Prometheus 本身并将其配置为通过 prometheus python 客户端抓取您从应用程序提供的指标。
https://github.com/prometheus/prometheus
您想要的表达式浏览器和图表将在 http:{your_ip}:9090/