otelconf: use translation strategy instead of deprecated funcs#8595
Merged
pellared merged 5 commits intoopen-telemetry:mainfrom Mar 2, 2026
Merged
Conversation
This fixes an issue in the otelconf package that was preventing the Collector from upgrading to the latest version of the library. The issue is that the prometheus exporter uses a translation strategy that could not be changed with the existing configuration options, and this changed the output from the exporter, breaking backwards compat for the collector when upgrading to otelconf v0.20.0. See open-telemetry/opentelemetry-collector#14602 (review) for more details. Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8595 +/- ##
=======================================
- Coverage 82.1% 82.1% -0.1%
=======================================
Files 179 179
Lines 13662 13662
=======================================
- Hits 11229 11227 -2
- Misses 2032 2033 +1
- Partials 401 402 +1
🚀 New features to boost your workflow:
|
MrAlias
approved these changes
Feb 24, 2026
dashpole
approved these changes
Feb 25, 2026
MikeGoldsmith
approved these changes
Feb 25, 2026
Contributor
Author
|
I dont think the lint check failure is related to changes in this pr |
pellared
approved these changes
Mar 2, 2026
dmathieu
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes an issue in the otelconf package that was preventing the Collector from upgrading to the latest version of the library. The issue is that the prometheus exporter uses a translation strategy that could not be changed with the existing configuration options, and this changed the output from the exporter, breaking backwards compat for the collector when upgrading to otelconf v0.20.0. See open-telemetry/opentelemetry-collector#14602 (review) for more details.