diff --git a/helm/templates/grafana/dashboard-config-map.yaml b/helm/templates/grafana/dashboard-config-map.yaml index c1d4471aa1fa59ffeffecbded9de1f85b4a6b480..c4f5709bb372e026afb9992d7ce4ffa021436b01 100644 --- a/helm/templates/grafana/dashboard-config-map.yaml +++ b/helm/templates/grafana/dashboard-config-map.yaml @@ -253,7 +253,7 @@ data: "steppedLine": false, "targets": [ { - "expr": "sum by(group, topic) (kafka_consumergroup_lag >= 0)", + "expr": "sum by(consumergroup, topic) (kafka_consumergroup_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(consumergroup,topic) (kafka_consumergroup_current_offset{topic='input'} >= 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(topic) (kafka_topic_partitions >= 0)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{topic}}", @@ -618,7 +618,7 @@ data: "steppedLine": false, "targets": [ { - "expr": "sum by(group,topic) (kafka_partition_latest_offset)", + "expr": "sum by(topic) (kafka_topic_partition_current_offset)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{topic}}",