-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[receiver/statsd] SIGSEGV when transport other than udp is set #22004
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. |
I suspect there is a bug where if the StatsD receiver fails to start the server it will still be shutdown but |
Can confirm, it's likely your StatsD server isn't able to actually start. When I fork
I can now get otel collector to not panic and actually give me a reason why the listener cannot start:
|
Thanks @callumj would you like to open a PR to fix the panic? |
Happy to, I’ll open one tomorrow (EDT). |
Component(s)
receiver/statsd
What happened?
Description
otelcol-contrib crashes when transport other than
udp
is set for statsd receiver - checked with version 0.77Steps to Reproduce
Set
transport
to something different thanudp
Expected Result
I'd expect otelcol to gracefully shutdown
Actual Result
Collector crashes with following output:
Collector version
0.77.0
Environment information
Environment
OS: MacOS Ventura version 13.3.1 (a)
OpenTelemetry Collector configuration
Log output
Additional context
The example config file does not work as it sets transport to
custom_transport
:https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.77.0/receiver/statsdreceiver/testdata/config.yaml
The text was updated successfully, but these errors were encountered: