[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198082#comment-17198082
 ] 

maoling commented on ZOOKEEPER-3928:
------------------------------------

[~Slach]

Sorry for I don't get your idea,  What type do you want the packets_sent and 
packets_received have?

> 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.0, 3.6.1
>            Reporter: Eugene Klimov
>            Priority: Major
>
> on fresh installed Zookeeper 3.6.1 (without workload)
> I run the following command:
> {code:java}
> wget -q -O- http://127.0.0.1:7000/metrics | grep -i packets_
> {code}
> {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