Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6011

AppInfoParser should only use metrics API and should not register JMX mbeans directly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • metrics
    • None

    Description

      AppInfoParser collects info about the app ID, version, and commit ID and logs them + exposes corresponding metrics. For some reason we ended up with the app ID metric being registered directly to JMX while the version and commit ID use the metrics API. This means the app ID would not be accessible to custom metrics reporter.

      This isn't a huge loss as this is probably a rarely used metric, but we should really only be using the metrics API. Only using the metrics API would also reduce and centralize the places we need to do name mangling to handle characters that might not be valid for metrics.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ewencp Ewen Cheslack-Postava
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: