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

[statsdreceiver] fail to parse payloads with empty tag data #32337

Closed
diurnalist opened this issue Apr 11, 2024 · 2 comments · Fixed by #32336
Closed

[statsdreceiver] fail to parse payloads with empty tag data #32337

diurnalist opened this issue Apr 11, 2024 · 2 comments · Fixed by #32336
Labels
bug Something isn't working needs triage New item requiring triage receiver/statsd statsd related issues Stale

Comments

@diurnalist
Copy link
Contributor

Component(s)

receiver/statsd

What happened?

Description

sending a statsd payload w/ a completely empty tag causes a panic.

Steps to Reproduce

send a payload like test.metric:42|c|#,,, - note the 0-length strings in between the commas denoting empty tags. dogstatsd clients sometimes are happy to send tags like this; i have mostly seen it in the go client.

Expected Result

no panic, collector is calm and collected

Actual Result

panic

Collector version

v0.96.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@diurnalist diurnalist added bug Something isn't working needs triage New item requiring triage labels Apr 11, 2024
@github-actions github-actions bot added the receiver/statsd statsd related issues label Apr 11, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage New item requiring triage receiver/statsd statsd related issues Stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant