statsd receiver does not handle empty tag values #38987
Labels
bug
Something isn't working
needs triage
New item requiring triage
receiver/statsd
statsd related issues
Uh oh!
There was an error while loading. Please reload this page.
Component(s)
receiver/statsd
What happened?
Description
When sending a metric with a tag with an empty value, the metric is not processed by statsd receiver.
Steps to Reproduce
it's something like
"test.metric:42|c|#key:"
.I added a test to
statsd_parser_test.go
and the result isExpected Result
metric is processed (datadog agent handles this case)
Actual Result
metric is dropped
Collector version
v0.122.1
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: