You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we run some bitnami-packaged ZK3.7. We enable prometheus support on it, and the mntr data format changes to prometheus/openmetric exposition format:
# echo mntr | nc zookeeper.local 2181 | headzk_version 3.7.0-e3704b390a6697bfdf4b0bef79e3da7a4f6bac4b, built on 2021-03-17 09:46 UTCzk_server_state followerzk_peer_state following - broadcastzk_read_commit_proc_issued{quantile="0.5"} 1.0zk_read_commit_proc_issued_count 1.9583359E7zk_read_commit_proc_issued_sum 1.3896375E7
In particular, recorded stats may now have scientific notation, instead of float-only.
I have worked around this locally by augmenting #332 with a isScientific guard before quitting. However, the recorded state file fails to match regex at
Can you please raise a Pull Request with what you have done with the isScientific guard, then I'll have a look and add to it to see if I can solve this.
It would be helpful if you could post the values.yaml you used for your bitnami-packaged ZooKeeper to reproduce this too.
Hi, we run some bitnami-packaged ZK3.7. We enable prometheus support on it, and the
mntr
data format changes to prometheus/openmetric exposition format:In particular, recorded stats may now have scientific notation, instead of float-only.
I have worked around this locally by augmenting #332 with a
isScientific
guard before quitting. However, the recordedstate
file fails to match regex atNagios-Plugins/check_zookeeper.pl
Lines 312 to 319 in 248dc2c
So far, I can't find any confirmation that enabling prometheus provider change
mntr
format at https://zookeeper.apache.org/doc/current/zookeeperMonitor.html#PrometheusPlease help to support this format, thanks.
The text was updated successfully, but these errors were encountered: