-
Notifications
You must be signed in to change notification settings - Fork 2.7k
statsd receiver - error - Error aggregating metric%!(EXTRA zapcore.Field={error 26 0 invalid message format: X}) #31169
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
Comments
Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@ceastman-r7, thanks for reporting. If you can help with investigating and fixing the issue, that whould be great. For now, I'm adding the "help wanted" label. I can't look into this at this moment. |
I see there is a small problem in the error reporting here, the
This bug aside, the receiver is trying to tell you that the data is invalid. The line appears to be simply I think we want to change that call to read
which will change the message, but we should look into the cause of the error as a separate matter. Do you know what is sending this statsd data? |
@jmacd I am using this echo statement: |
@jmacd Any update or additional information you need? I found that I can't use the older version of the collector due to a bug in the prometheus receiver. |
I think this is fixed now, image tag: 0.98.0 |
Thanks for following up @ceastman-r7, glad to hear it's working again! |
Component(s)
receiver/statsd
What happened?
Description
Using image: opentelemetry-collector-contrib:0.92.0 deployed to AWS EKS version 1.29 cluster.
When I send the following to test the statsd receiver I see the following in the logs of the otel deployment agent collector:
Error aggregating metric%!(EXTRA zapcore.Field={error 26 0 invalid message format: X})
Steps to Reproduce
Deploy otel collector agent with this config:
and send the same from the documentation: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/statsdreceiver/README.md#send-statsd-message-into-the-receiver
Expected Result
to have the metric, value and tag show up in prometheus
Actual Result
error received in logs
Collector version
0.92.0 and 0.93.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: