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

statsd unable to parse metrics #30

Open
peetasan opened this issue Jun 22, 2018 · 3 comments
Open

statsd unable to parse metrics #30

peetasan opened this issue Jun 22, 2018 · 3 comments

Comments

@peetasan
Copy link

Using
kafka_2.11-0.11.0.2,
collectd 5.8.0.116.gcd59bf0-1~xenial with <Plugin "statsd">
I have the following errors in my collectd.log:

[2018-06-22 13:40:55] statsd plugin: Unable to parse line: "kafka.server.FetcherStats.RequestsPerSec.1MinuteRate:1.994529|g"
[2018-06-22 13:40:55] statsd plugin: Unable to parse line: "kafka.server.ReplicaFetcherManager.MaxLag:0|g|#clientId:Replica"
[2018-06-22 13:40:55] statsd plugin: Unable to parse line: "kafka.server.ReplicaFetcherManager.MinFetchRate:1.984874|g|#cli"

It seems that the messages to be sent to statsd are truncated somehow, because they look to be the same length (at least in the error message). 
@yousafsyed-bg
Copy link

I am facing the exact same problem, did you fix the problem ?

@YoavNordmann
Copy link

Hi
I am facing the exact same problem.
Did anyone ever fix this issue ?

@YoavNordmann
Copy link

I found the solution.
I was using telegraf with the statsd input plugin, which is what emitted those errors.
The problem is that there are 2 statsd formats: etsy and datadog. This is especially important for the way multiple tags are sent, more specifically, with which separator between tags. This exporter emits in the datadog format while the telegraf statsd plugin is working with the etsy standard.
All I needed to do what let the telegraf statsd plugin know that there is some data in the datadog format and voila, it works.
Enjoy!

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

3 participants