-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add brokers metrics and metrics metadata to Kafkametrics #2656
Add brokers metrics and metrics metadata to Kafkametrics #2656
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2656 +/- ##
==========================================
+ Coverage 91.40% 91.42% +0.02%
==========================================
Files 435 435
Lines 21620 21628 +8
==========================================
+ Hits 19762 19774 +12
+ Misses 1391 1387 -4
Partials 467 467
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Looks good just a few minor things
Will this be merged regardless of the failing test? - the cause of the failure doesn't seem to be related to any of the changes in this PR. |
* add brokers metrics and metrics metadata * update metric names * fix metric units * update offset unit * remove nocover file * empty commit
Description:
This adds the metric code for the brokers scraper. Currently only one metric is reported: the number of brokers.
Follow up to #2620
The complete metadata.yaml and generated_metrics.go file for metrics of consumer groups and topics/partitions, that will be added in subsequent PRs is also included as well as the
Testing: unit tests