-
Couldn't load subscription status.
- Fork 1.5k
Add Kafka Cluster Monitoring #21736
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
base: master
Are you sure you want to change the base?
Add Kafka Cluster Monitoring #21736
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files🚀 New features to boost your workflow:
|
| - **Consumer group metadata**: Member details and group state | ||
| - **Schema registry**: Schema information (if schema_registry_url is provided) | ||
|
|
||
| All cluster monitoring metrics are tagged with `kafka_cluster_id` for easy filtering. |
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.
Why not broker id as well? Cardinality? No info available? Something else?
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.
Most metrics are cluster wide metrics, so not specific to only one broker. I will make sure that metrics specific to one broker are tagged with broker id.
What does this PR do?
Adds Kafka cluster monitoring capabilities to the
kafka_consumerintegration (preview feature). Whenenable_cluster_monitoring: trueis set, the integration collects:Motivation
While the existing
kafka_consumerintegration provides consumer lag monitoring, customers need deeper visibility into their Kafka clusters without relying solely on JMX-based monitoring. This feature enables:This complements the existing JMX-based
kafkaintegration by providing Admin API-based metadata collection.Review checklist (to be filled by reviewers)
qa/skip-qalabel if the PR doesn't need to be tested during QA.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged