Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3928

prometheus metrics packets_sent and packets_received wrong type

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6.0, 3.6.1
    • Fix Version/s: None
    • Component/s: metric system
    • Labels:
      None

      Description

      on fresh installed Zookeeper 3.6.1 (without workload)

      I run the following command:

      wget -q -O- http://127.0.0.1:7000/metrics | grep -i packets_
      
      
      
      # HELP packets_received packets_received
      # TYPE packets_received gauge
      packets_received 8004.0
      # HELP packets_sent packets_sent
      # TYPE packets_sent gauge
      packets_sent 8009.0

      looks like `packets_sent` and `packets_recived` have wrong metric type
      causeĀ 

      sleep 5
      wget -q -O- http://127.0.0.1:7000/metrics | grep -i packets_

      returns

      # HELP packets_received packets_received
      # TYPE packets_received gauge
      packets_received 8114.0
      # HELP packets_sent packets_sent
      # TYPE packets_sent gauge
      packets_sent 8119.0
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Slach Eugene Klimov

              Dates

              • Created:
                Updated:

                Issue deployment