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

maoling commented on ZOOKEEPER-3929:
------------------------------------

[~Slach]

It may be not an issue. If a summary hasn't received any observations during 
its maxAge, its quantiles should be reported as NaN. You may be interested in 
these resources:

[1]  [https://github.com/hashicorp/consul/issues/4254]

[[2]  
https://github.com/prometheus/client_golang/issues/85|https://github.com/prometheus/client_golang/issues/85]

[3]  https://github.com/prometheus/prometheus/issues/860

> prometheus metrics with type "summary" always show quantiles as NaN
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3929
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3929
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: metric system
>    Affects Versions: 3.6.0, 3.6.1
>            Reporter: Eugene Klimov
>            Priority: Major
>
> I run the following command on fresh installed Zookeeper:
> {code:java}
> wget -O- -q http://127.0.0.1:7000/metrics | grep -i readlatency{code}
> and got the following results:
> {code:java}
> # HELP readlatency readlatency
> # TYPE readlatency summary
> readlatency{quantile="0.5",} NaN
> readlatency{quantile="0.9",} NaN
> readlatency{quantile="0.99",} NaN
> readlatency_count 220.0
> readlatency_sum 330.0
> {code}
> look like quantiles don't calculate properly



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

Reply via email to