Closed
Switch deprecated OTel component aliases to snake_case names#214
Conversation
csatib02
approved these changes
Jul 17, 2026
Copilot
AI
changed the title
[WIP] Update component names to use snake_case convention
Switch deprecated OTel component aliases to snake_case names
Jul 17, 2026
csatib02
marked this pull request as ready for review
July 17, 2026 17:05
csatib02
approved these changes
Jul 17, 2026
csatib02
marked this pull request as draft
July 17, 2026 18:49
Member
|
Folded into #216 as the 'breaking changes' commit. |
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.
OpenTelemetry Collector renamed several components to a snake_case convention, keeping the previous names as deprecated aliases. This switches the generated Collector configuration to the new names.
Renames were verified against OTel collector/contrib v0.152.x, matching the default axoflow collector image (
axoflowOtelCollectorImageRefincollector_manager.go). Only four components used by this project have been renamed:k8sattributesk8s_attributesfilelogfile_logotlphttpotlp_httpotlpotlp_grpcComponents not yet renamed at the target version (
deltatocumulative,awss3,elasticsearch,basicauth,bearertokenauth,count,routing,prometheus, …) are left unchanged.Changes
GetExporterNameForOutputnow emitsotlp_grpc/andotlp_http/exporter names;generateProcessorsandpipeline.goemitk8s_attributesandfile_log/.k8s_attributes.complex.yaml, preserving output-name substrings (e.g.otlp-test-output).Note:
OTLPGRPC/OTLPHTTPCRD field names and their JSON tags are unchanged — only the emitted Collector component type names are affected.