Skip to content

support otlp_grpc alias for otlp exporter#14165

Closed
mbaykara wants to merge 10 commits into
open-telemetry:mainfrom
mbaykara:main
Closed

support otlp_grpc alias for otlp exporter#14165
mbaykara wants to merge 10 commits into
open-telemetry:mainfrom
mbaykara:main

Conversation

@mbaykara
Copy link
Copy Markdown

Link to tracking issue

Fixes #14099

@mbaykara mbaykara requested a review from a team as a code owner November 15, 2025 23:13
@mbaykara mbaykara requested a review from atoulme November 15, 2025 23:13
@atoulme atoulme requested a review from codeboten November 17, 2025 03:07
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.11%. Comparing base (2e9c827) to head (c7b1ac4).
⚠️ Report is 111 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14165      +/-   ##
==========================================
- Coverage   92.15%   92.11%   -0.05%     
==========================================
  Files         666      668       +2     
  Lines       41441    41389      -52     
==========================================
- Hits        38191    38124      -67     
- Misses       2213     2227      +14     
- Partials     1037     1038       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mbaykara
Copy link
Copy Markdown
Author

Hey @codeboten , happy to get your review, based on your feedback, I will work on the other issue as well

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 9, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions Bot added the Stale label Dec 9, 2025
@dmitryax dmitryax closed this Jan 4, 2026
@dmitryax dmitryax reopened this Jan 4, 2026
}
// Register the otlp_grpc alias for the otlp exporter
aliasFactory := otlpexporter.NewFactoryWithAlias()
factories.Exporters[aliasFactory.Type()] = aliasFactory
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is generated by ocb. We cannot modify it here. It should be implemented as a generic solution that allows any components define one deprecated alias name

Copy link
Copy Markdown
Member

@andrzej-stencel andrzej-stencel Jan 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we now have a generic solution to component name aliases with #14349 merged, correct?

If confirmed, we should close this PR and potentially create a new PR changing otlp exporter to otlp_grpc with otlp alias?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, if it is confirmed, feel free to close this PR, I will create a new PR for the generic solution. How it sounds for you @dmitryax?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good 👍

@github-actions github-actions Bot removed the Stale label Jan 8, 2026
@dmitryax dmitryax closed this Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add otlp_grpc alias for otlp exporter

3 participants