Skip to content

Commit 390f3f3

Browse files
authored
Merge pull request #53 from softwaremill/docs/group-state-metric
docs: add group_state metric to metrics tables
2 parents 8d5f953 + 59a8390 commit 390f3f3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ Use `${VAR_NAME}` syntax in config values. The exporter will substitute with env
293293
| `kafka_consumergroup_group_max_lag_seconds` | cluster_name, group | Max time lag across partitions |
294294
| `kafka_consumergroup_group_sum_lag` | cluster_name, group | Sum of offset lag |
295295
| `kafka_consumergroup_group_topic_sum_lag` | cluster_name, group, topic | Sum of offset lag per topic |
296+
| `kafka_consumergroup_group_state` | cluster_name, group | Consumer group state as integer (0=Unknown, 1=PreparingRebalance, 2=CompletingRebalance, 3=Stable, 4=Dead, 5=Empty, 6=Assigning, 7=Reconciling) |
296297

297298
### Operational Metrics
298299

docs/metrics-collection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ datacenter = "us-east-1"
201201
| `kafka_consumergroup_group_sum_lag` | Sum of lag across all partitions | cluster_name, group |
202202
| `kafka_consumergroup_group_max_lag` | Max offset lag across partitions | cluster_name, group |
203203
| `kafka_consumergroup_group_max_lag_seconds` | Max time lag across partitions | cluster_name, group |
204+
| `kafka_consumergroup_group_state` | Consumer group state as integer (0=Unknown, 1=PreparingRebalance, 2=CompletingRebalance, 3=Stable, 4=Dead, 5=Empty, 6=Assigning, 7=Reconciling) | cluster_name, group |
204205

205206
### Topic-Level Metrics
206207

0 commit comments

Comments
 (0)