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

metrics exposed via JMX shoud be configurable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: metrics
    • Labels:
      None

      Description

      Kafka exposes a very large number of metrics, all of which are always visible in JMX by default. On large clusters with many partitions, this may result in tens of thousands of mbeans to be registered, which can lead to timeouts with some popular monitoring agents that rely on listing JMX metrics via RMI.

      Making the set of JMX-visible metrics configurable would allow operators to decide on the set of critical metrics to collect and workaround limitation of JMX in those cases.

      corresponding KIP
      https://cwiki.apache.org/confluence/display/KAFKA/KIP-544%3A+Make+metrics+exposed+via+JMX+configurable

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xvrl Xavier Léauté
                Reporter:
                xvrl Xavier Léauté
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: