File tree 1 file changed +6
-9
lines changed
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,10 @@ class group_offset_probe {
77
77
_public_metrics.add_group (
78
78
prometheus_sanitize::metrics_name (" kafka:consumer:group" ),
79
79
{sm::make_gauge (
80
- " committed_offset" ,
81
- [this ] { return _offset; },
82
- sm::description (" Consumer group committed offset" ),
83
- labels)
84
- .aggregate ({sm::shard_label})});
80
+ " committed_offset" ,
81
+ [this ] { return _offset; },
82
+ sm::description (" Consumer group committed offset" ),
83
+ labels)});
85
84
}
86
85
87
86
private:
@@ -129,15 +128,13 @@ class group_probe {
129
128
" consumers" ,
130
129
[this ] { return _members.size (); },
131
130
sm::description (" Number of consumers in a group" ),
132
- labels)
133
- .aggregate ({sm::shard_label}),
131
+ labels),
134
132
135
133
sm::make_gauge (
136
134
" topics" ,
137
135
[this ] { return _offsets.size (); },
138
136
sm::description (" Number of topics in a group" ),
139
- labels)
140
- .aggregate ({sm::shard_label})});
137
+ labels)});
141
138
}
142
139
143
140
private:
You can’t perform that action at this time.
0 commit comments