From 36e3930887fa2629f3321fcd9eba3d046536666b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Mon, 10 May 2021 15:50:33 +0200 Subject: [PATCH] Show 0 lags in dashboards --- .../helm/templates/grafana/dashboard-config-map.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/execution/helm/templates/grafana/dashboard-config-map.yaml b/execution/helm/templates/grafana/dashboard-config-map.yaml index 1125d7833..41365e5ef 100644 --- a/execution/helm/templates/grafana/dashboard-config-map.yaml +++ b/execution/helm/templates/grafana/dashboard-config-map.yaml @@ -253,7 +253,7 @@ data: "steppedLine": false, "targets": [ { - "expr": "sum by(group, topic) (kafka_consumergroup_group_lag > 0)", + "expr": "sum by(group, topic) (kafka_consumergroup_group_lag >= 0)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{topic}}", @@ -436,7 +436,7 @@ data: "steppedLine": false, "targets": [ { - "expr": "sum by(group,topic) (kafka_consumergroup_group_offset > 0)", + "expr": "sum by(group,topic) (kafka_consumergroup_group_offset >= 0)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{topic}}", @@ -527,7 +527,7 @@ data: "steppedLine": false, "targets": [ { - "expr": "count by(group,topic) (kafka_consumergroup_group_offset > 0)", + "expr": "count by(group,topic) (kafka_consumergroup_group_offset >= 0)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{topic}}", @@ -892,7 +892,7 @@ data: "steppedLine": false, "targets": [ { - "expr": "sum by(group) (kafka_consumergroup_group_lag > 0)", + "expr": "sum by(group) (kafka_consumergroup_group_lag >= 0)", "format": "time_series", "intervalFactor": 1, "legendFormat": "total lag", -- GitLab