DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
All Kafka component register AppInfo metrics to track the application start time or commit-id etc. These metrics are useful for monitoring and debugging. However, the AppInfo doesn't provide client-id, which is an important information for custom metrics reporter.
As the The AppInfoParser class registers a JMX MBean with the provided client-id, but when it adds metrics to the Metrics registry, the client-id is not included. This KIP aims to add the client-id as a tag.
Public Interfaces
Currently MetricName:
- [name=start-time-ms, group=app-info, description=Metric indicating start-time-ms, tags={}]
- [name=commit-id, group=app-info, description=Metric indicating commit-id, tags={}]
- [name=version, group=app-info, description=Metric indicating version, tags={}]
New MetricName:
- [name=start-time-ms, group=app-info, description=Metric indicating start-time-ms, tags={client-id=<component-id>}]
- [name=commit-id, group=app-info, description=Metric indicating commit-id, tags={client-id=<component-id>}]
- [name=version, group=app-info, description=Metric indicating version, tags={client-id=<component-id>}]
org.apache.kafka.common.utils.AppInfoParser
Proposed Changes
1) The new MBean will include a new tag, client-id
...