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

Remove all broker metrics during shutdown

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • core
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment