【问题标题】:How to add prometheus data source for grafana with helm?如何用helm为grafana添加prometheus数据源?
【发布时间】:2020-05-07 10:18:09
【问题描述】:

我尝试了很多来源,例如http://prometheus-server.default:9090,但我收到了HTTP Error Bad Gateway

【问题讨论】:

    标签: prometheus grafana kubernetes-helm


    【解决方案1】:

    只需使用http://localhost:9090 无需使用http://prometheus-server.default:9090,如果您的promitheus 在其他服务器上使用ip 或域然后

    【讨论】:

    • 它不起作用。如问题所述,它在 kubernetes 集群上加载了 helm,而不是在 localhost
    【解决方案2】:

    找到了。

    helm prometheus包为grafana提供的服务器HTTP URL为: http://prometheus-server。

    【讨论】:

      猜你喜欢
      • 2018-04-18
      • 2021-03-20
      • 2018-03-21
      • 2020-11-30
      • 2019-08-21
      • 2019-08-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多