Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signalfx can't parse zookeeper AvgLatency metric values #13

Closed
apratsko opened this issue Jan 4, 2022 · 1 comment
Closed

Signalfx can't parse zookeeper AvgLatency metric values #13

apratsko opened this issue Jan 4, 2022 · 1 comment

Comments

@apratsko
Copy link

apratsko commented Jan 4, 2022

Since zookeeper 3.6.0, average metric values are set to double type: apache/zookeeper#748

Signalfx-agent expects them as int and can't parse these values:

Dec 16 12:27:45 ip-10-110-1-50 signalfx-agent: time="2021-12-16T12:27:45Z" level=debug msg="Dispatching value
{plugin: zookeeper; plugin_instance: [zk_version=3.7.0-e3704b390a6697bfdf4b0bef79e3da7a4f6bac4b]; type: gauge; type_instance: zk_avg_latency; host: ; values: ['0.6604']; time: 1639657665.8770773 ; meta: {'0': True}; dsnames: None; dstypes: None; message: None; severity: None}" createdTime=1.6396576658770905e+09 lineno=135 logger=root monitorID=1
2 monitorType=collectd/zookeeper runnerPID=26602 sourcePath=/usr/lib/signalfx-agent/lib/python3.8/site-packages/sfxcollectd/interface.py

Dec 16 12:27:45 ip-10-110-1-50 signalfx-agent: time="2021-12-16T12:27:45Z" level=error msg="Could not handle message from Python" error="parse error: expected number near offset 34 of '0.6604'" monitorID=12 monitorType=collectd/zookeeper runnerPID=26602

@apratsko apratsko changed the title Signalfx-agent can't parse zookeeper AvgLatency metric values Signalfx can't parse zookeeper AvgLatency metric values Jan 4, 2022
@rmfitzpatrick
Copy link
Contributor

@apratsko thanks for reporting this issue. This will be resolved in a future agent release: #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants