Eugene Klimov created ZOOKEEPER-3928:
----------------------------------------

             Summary: prometheus metrics packets_sent and packets_received 
wrong type
                 Key: ZOOKEEPER-3928
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3928
             Project: ZooKeeper
          Issue Type: Bug
          Components: metric system
    Affects Versions: 3.6.1, 3.6.0
            Reporter: Eugene Klimov


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_


{code:java}
# 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{code}
looks like `packets_sent` and `packets_recived` have wrong metric type
causeĀ 
{code:java}
sleep 5
wget -q -O- http://127.0.0.1:7000/metrics | grep -i packets_{code}
returns
{code:java}
# 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
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to