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

prometheus metrics packets_sent and packets_received wrong type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.6.0, 3.6.1
    • None
    • metric system
    • 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

            Unassigned Unassigned
            Slach Eugene Klimov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: