[
https://issues.apache.org/jira/browse/ZOOKEEPER-3912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183760#comment-17183760
]
maoling commented on ZOOKEEPER-3912:
------------------------------------
I also found that when prometheus disables, synced_followers is a integer.
However, when enables, it became a float.
Cc [~eolivelli]
> 4LW MNTR command outputs in float when prometheus activated
> -----------------------------------------------------------
>
> Key: ZOOKEEPER-3912
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3912
> Project: ZooKeeper
> Issue Type: Bug
> Components: metric system
> Affects Versions: 3.6.1
> Reporter: Philipp Trulson
> Priority: Major
>
> We use zookeeper 3.6.1 in combination with solr 8.6.0 on our kubernetes
> cluster. For monitoring purposes we activated the prometheus metrics for
> zookeeper, which had the unexpected side effect that the 4lw mntr command now
> also outputs floats instead of the usual integers. This broke the parser on
> the solr side (SOLR-14752), because it was expecting ints.
> This ticket is to discuss if this is actually a bug or expected behavior
> because this change isn't mentioned anywhere in the release notes or
> documentation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)