-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[routing/connector] Invalid configuration when using context other than resource #37410
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
Labels
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I think the problem appear with PR #37095, there is a fallthrough keyword in routingconnector/config.go which now return to default case. |
vlaborie
added a commit
to vlaborie/opentelemetry-collector-contrib
that referenced
this issue
Jan 22, 2025
Remove a residual fallthrough keyword Fixes open-telemetry#37410
vlaborie
added a commit
to vlaborie/opentelemetry-collector-contrib
that referenced
this issue
Jan 24, 2025
Remove a residual fallthrough keyword Fixes open-telemetry#37410
vlaborie
added a commit
to vlaborie/opentelemetry-collector-contrib
that referenced
this issue
Jan 24, 2025
Remove a residual fallthrough keyword Fixes open-telemetry#37410
vlaborie
added a commit
to vlaborie/opentelemetry-collector-contrib
that referenced
this issue
Jan 24, 2025
Remove a residual fallthrough keyword Fixes open-telemetry#37410 Added unit tests for valid request context. Updated changelog.
vlaborie
added a commit
to vlaborie/opentelemetry-collector-contrib
that referenced
this issue
Jan 27, 2025
…ource Fix switch case which validate config context Fixes open-telemetry#37410 Added unit tests for valid request context. Updated changelog.
The error also happen with "span", "metric", "datapoint" and "log" context. |
3 tasks
chengchuanpeng
pushed a commit
to chengchuanpeng/opentelemetry-collector-contrib
that referenced
this issue
Feb 8, 2025
…ource (open-telemetry#37411) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Remove a residual fallthrough keyword which induce a configuration error <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#37410 --------- Co-authored-by: Andrzej Stencel <[email protected]>
zeck-ops
pushed a commit
to zeck-ops/opentelemetry-collector-contrib
that referenced
this issue
Apr 23, 2025
…ource (open-telemetry#37411) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Remove a residual fallthrough keyword which induce a configuration error <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#37410 --------- Co-authored-by: Andrzej Stencel <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component(s)
connector/routing
What happened?
Description
The collector crash with in invalid configuration error when a request context is used with routing/connector.
Steps to Reproduce
Use a routing connector with request context.
Expected Result
No configuration error.
Actual Result
Collector crash with invalid configuration error.
Collector version
0.118.0
Environment information
Environment
Docker: otel/opentelemetry-collector-contrib:0.118.0
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: