-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export number of members and assigned partitions for each topic in a consumer group #106
Conversation
46f428c
to
37283c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Adi,
generally LGTM only a few minor things that improve readability, naming etc. I edited them just in GitHub - so the suggested changes may require further changes (e.g. changing the variable names in other places where it's been used etc).
Thanks 🚀
// number of members with no assignment in a stable consumer group | ||
if membersWithEmptyAssignment > 0 && group.State == "Stable" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering whether we actually want that condition again (or just report it as zero everytime where this is case - regardless of the current group state). I assume that you have a certain usecase in mind which is why you added these metrics in the first place. Do you care to explain them so that I can understand the idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right - superseded by #108
89de365
to
249d16b
Compare
@weeco kind reminder to review this PR. thanks :) |
thanks for the review @weeco - would you please check the last version? |
…consumer group Added consumer_group_empty_members, consumer_group_topic_members and consumer_group_topic_assigned_partitions metrics. Fixes redpanda-data#104
Added consumer_group_topic_members, consumer_group_topic_assigned_partitions and consumer_group_empty_members metrics.
Fixes #104