-
Notifications
You must be signed in to change notification settings - Fork 1.6k
service: configuration example for telemetry causes startup issue #12661
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
I am investigating |
Further investigation by @TylerHelmuth, @evan-bradley and @dehaansa indicate this is related to b8830dd |
a potential workaround, it seems configuring a pull reader as well as a periodic reader allows the collector to start:
|
Since the 0.122.1 tag has been released, should this be considered resolved? |
Once open-telemetry/opentelemetry-collector-releases#882 is merged and tagged |
Closing since this is done |
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number if applicable --> Adds a test for #12661 and another test present on #11882. I verified that the first test fails in v0.123.0: on this version the slice has `[]S{A: "A", B: "B"}` instead.
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number if applicable --> A second attempt at #11882. Note that I added some tests in #12871 to prevent something like #12661 from happening again. #### Link to tracking issue Fixes #11749 <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> See tests from #12871 as well as the new tests added here.
Component(s)
service
What happened?
the basic config for emitting internal metrics through OTLP from the docs, which worked in 0.121.0, crashes the 0.122.0 Collector
with the message:
2025/03/18 19:10:19 collector server run finished with error: failed to create SDK: must not specify multiple metric reader type
Collector version
v0.122.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: