Skip to content
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

Extension method naming consistency #218

Open
stevejgordon opened this issue Feb 21, 2025 · 0 comments · May be fixed by #227
Open

Extension method naming consistency #218

stevejgordon opened this issue Feb 21, 2025 · 0 comments · May be fixed by #227
Labels
Milestone

Comments

@stevejgordon
Copy link
Contributor

On the IOpenTelemetryBuilder extensions, we define WithElasticDefaults overloads. These align with the naming used by the SDK to enable tracing, e.g., WithTracing.

Currently, on the provider builders (such as TracerProviderBuilder, we define UseElasticDefaults methods.

For consistency, we should consider switching from UseElasticDefaults to WithElasticDefaults on the other builder extension methods. This improves discovery and the developer experience.

@stevejgordon stevejgordon added this to the 1.0.0 milestone Feb 21, 2025
@stevejgordon stevejgordon linked a pull request Feb 26, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant