在 Grafana Prometheus 中添加静态时间间隔面板
adding static time interval panel in Grafana Prometheus
我正在尝试添加一个静态面板来显示 grafana prometheus 中当年的请求总数
我在 grafana 中使用 sum(http_server_requests_seconds_count{}) 作为当前区间选择
今年我有什么办法可以做到这一点
使用increase(http_server_requests_seconds_count[1y])
。但它不会很快。或者对普罗米修斯很容易。另外,请确保将其用作即时查询(查询文本区域下方的 Instant 开关),否则情况会更糟。
我正在尝试添加一个静态面板来显示 grafana prometheus 中当年的请求总数
我在 grafana 中使用 sum(http_server_requests_seconds_count{}) 作为当前区间选择
今年我有什么办法可以做到这一点
使用increase(http_server_requests_seconds_count[1y])
。但它不会很快。或者对普罗米修斯很容易。另外,请确保将其用作即时查询(查询文本区域下方的 Instant 开关),否则情况会更糟。