【问题标题】:adding static time interval panel in Grafana Prometheus在 Grafana Prometheus 中添加静态时间间隔面板
【发布时间】:2019-10-15 15:58:10
【问题描述】:

我正在尝试添加一个静态面板以在 grafana prometheus 中显示本年度的请求总数

我在 grafana 中使用 sum(http_server_requests_seconds_count{}) 进行当前间隔选择

今年我有什么办法可以做到这一点

【问题讨论】:

    标签: grafana prometheus promql


    【解决方案1】:

    使用increase(http_server_requests_seconds_count[1y])。但这不会很快。或者在普罗米修斯上轻松。另外,请确保您将其用作即时查询(查询文本区域下方的 Instant 开关),否则情况会更糟。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-02-23
      • 2019-09-07
      • 2020-02-27
      • 1970-01-01
      • 1970-01-01
      • 2019-12-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多