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

Add listener tag to socket-server-metrics.connection-... metrics (KIP-136)

    Details

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

      Description

      Metrics in socket-server-metrics like connection-count connection-close-rate etc are tagged with networkProcessor:<id>
      where the id of a network processor is just a numeric integer.

      If you have more than one listener (eg PLAINTEXT, SASL_SSL, etc.), the id just keeps incrementing and when looking at the metrics it is hard to match the metric tag to a listener.

      You need to know the number of network threads and the order in which the listeners are declared in the brokers' server.properties.

      We should add a tag showing the listener label, that would also make it much easier to group the metrics in a tool like grafana

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ecomar Edoardo Comar
                Reporter:
                ecomar Edoardo Comar
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: