You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Eugene Klimov (Jira)" <ji...@apache.org> on 2020/09/08 08:52:00 UTC
[jira] [Updated] (ZOOKEEPER-3928) prometheus metrics packets_sent
and packets_received wrong type
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene Klimov updated ZOOKEEPER-3928:
-------------------------------------
Description:
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}
was:
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}
> 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)