【问题标题】:How do I get to my prometheus graphs?如何访问我的普罗米修斯图?
【发布时间】:2017-05-19 17:07:56
【问题描述】:

我已经安装了 python prometheus 客户端 (prometheus-client==0.0.18) 并向我的应用程序添加了几个指标。

我正在导入并运行 prometheus 客户端 从 prometheus_client 导入 ... start_http_server(8100)

我可以在 http://{my_ip}:8100/ 上查看我的指标

并根据此处的文档: https://prometheus.io/docs/introduction/getting_started/ 我希望在 /graph 找到表达式浏览器 但这只是让我回到了指标页面(就像斜线后面的任何其他内容一样)。

【问题讨论】:

    标签: python prometheus


    【解决方案1】:

    我相信您还需要运行 Prometheus 本身并将其配置为通过 prometheus python 客户端从应用程序中抓取您提供的指标。

    https://github.com/prometheus/prometheus

    您需要的表达式浏览器和图表将在http:{your_ip}:9090/提供

    【讨论】:

      猜你喜欢
      • 2015-12-01
      • 1970-01-01
      • 2022-01-22
      • 1970-01-01
      • 2017-09-03
      • 1970-01-01
      • 2022-10-17
      • 2022-12-02
      • 2022-12-17
      相关资源
      最近更新 更多