Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.  Although most Kafka clients (consumer, producer, admin) already register their client-id in the metrics config, there are cases in MirrorMaker and Worker where the client-id is not included when AppInfo is registered.

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:

...