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

Remove all broker metrics during shutdown

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: core
    • Labels:
      None

      Description

      RequestMetrics on the broker is currently a static variable, created when the broker starts up, but the metrics are never removed. This makes it hard to test broker metrics since there could be metrics left over from previous tests. We should ensure that all metrics are cleared even for brokers.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rsivaram Rajini Sivaram
                Reporter:
                rsivaram Rajini Sivaram
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: