-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[processor/routing] Collector crash #26462
Labels
Comments
jpkrohling
added
bug
Something isn't working
needs triage
New item requiring triage
labels
Sep 5, 2023
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
jpkrohling
added
processor/routing
Routing processor
connector/routing
and removed
pkg/ottl
needs triage
New item requiring triage
labels
Sep 5, 2023
jpkrohling
changed the title
[pkg/ottl] Collector crash
[processor/routing] Collector crash
Sep 5, 2023
jpkrohling
added a commit
to jpkrohling/opentelemetry-collector-contrib
that referenced
this issue
Sep 5, 2023
This PR changes the routing processor so that it properly creates new instances of pdata.Span and InstrumentationScope, avoiding crashes later on due to nil pointers. Fixes open-telemetry#26462 Signed-off-by: Juraci Paixão Kröhling <[email protected]>
This was referenced Sep 5, 2023
jpkrohling
added a commit
that referenced
this issue
Sep 6, 2023
This PR changes the routing processor so that it properly creates new instances of pdata.Span and InstrumentationScope, avoiding crashes later on due to nil pointers. Fixes #26462 Signed-off-by: Juraci Paixão Kröhling <[email protected]> --------- Signed-off-by: Juraci Paixão Kröhling <[email protected]>
This was referenced Sep 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component(s)
processor/routing
What happened?
Description
Collector crash, caused by misuse of the ptrace.Span construct by the routing processor.
Steps to Reproduce
telemetrygen traces --traces 10000 --otlp-insecure --otlp-attributes='attr1="demo",attr2="xxx"'
Expected Result
No crashes.
Actual Result
Collector version
0.84.0
Environment information
Environment
OS: Fedora release 38 (Thirty Eight)
OpenTelemetry Collector configuration
Log output
Additional context
Logs from telemetrygen:
The text was updated successfully, but these errors were encountered: