Skip to content

Commit f6fafd3

Browse files
authored
Merge pull request #81 from amuraru/coordinator-id
Add consumer group coordinator label to consumer_group_info metric
2 parents 4f4b8c5 + 43854e0 commit f6fafd3

File tree

6 files changed

+108
-111
lines changed

6 files changed

+108
-111
lines changed

docs/metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ kminion_kafka_topic_high_water_mark_sum{topic_name="__consumer_offsets"} 1.51202
6969
```
7070
# HELP kminion_kafka_consumer_group_info Consumer Group info metrics. It will report 1 if the group is in the stable state, otherwise 0.
7171
# TYPE kminion_kafka_consumer_group_info gauge
72-
kminion_kafka_consumer_group_info{group_id="bigquery-sink",member_count="2",protocol="range",protocol_type="consumer",state="Stable"} 1
72+
kminion_kafka_consumer_group_info{coordinator_id="0",group_id="bigquery-sink",member_count="2",protocol="range",protocol_type="consumer",state="Stable"} 1
7373
7474
# HELP kminion_kafka_consumer_group_topic_offset_sum The sum of all committed group offsets across all partitions in a topic
7575
# TYPE kminion_kafka_consumer_group_topic_offset_sum gauge

go.mod

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,30 @@ go 1.15
44

55
require (
66
github.com/frankban/quicktest v1.11.3 // indirect
7+
github.com/golang/protobuf v1.5.2 // indirect
78
github.com/google/uuid v1.2.0
89
github.com/jcmturner/gokrb5/v8 v8.4.2
9-
github.com/klauspost/compress v1.11.7 // indirect
10-
github.com/knadh/koanf v0.15.0
10+
github.com/klauspost/compress v1.12.1 // indirect
11+
github.com/knadh/koanf v0.16.0
1112
github.com/kr/text v0.2.0 // indirect
13+
github.com/mitchellh/copystructure v1.1.2 // indirect
1214
github.com/mitchellh/mapstructure v1.4.1
1315
github.com/orcaman/concurrent-map v0.0.0-20210106121528-16402b402231
1416
github.com/pelletier/go-toml v1.8.1 // indirect
1517
github.com/pkg/errors v0.9.1
16-
github.com/prometheus/client_golang v1.9.0
17-
github.com/prometheus/procfs v0.6.0 // indirect
18+
github.com/prometheus/client_golang v1.10.0
19+
github.com/prometheus/common v0.20.0 // indirect
1820
github.com/stretchr/testify v1.7.0 // indirect
19-
github.com/twmb/franz-go v0.6.9
21+
github.com/twmb/franz-go v0.6.10
2022
go.uber.org/atomic v1.7.0
2123
go.uber.org/multierr v1.6.0 // indirect
2224
go.uber.org/zap v1.16.0
25+
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect
2326
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 // indirect
2427
golang.org/x/mod v0.4.1 // indirect
25-
golang.org/x/net v0.0.0-20210119194325-5f4716e94777 // indirect
26-
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
27-
google.golang.org/protobuf v1.25.0 // indirect
28+
golang.org/x/net v0.0.0-20210414194228-064579744ee0 // indirect
29+
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
30+
golang.org/x/sys v0.0.0-20210414055047-fe65e336abe0 // indirect
2831
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
2932
gopkg.in/yaml.v2 v2.4.0 // indirect
3033
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect

0 commit comments

Comments
 (0)