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

Return interface instead of concrete implementation in instrumentatio… #7658

Conversation

mateuszrzeszutek
Copy link
Member

…n-api-semconv

We're already doing that for SpanNameExtractor, OperationMetrics, ContextCustomizer, etc., so I figured we should do the same for AttributesExtractor implementation. Also, none of the implementations have any additional public surface - aside from the builder/factory method users can just simply use the interface everywhere.

@mateuszrzeszutek mateuszrzeszutek requested a review from a team January 26, 2023 11:01
@mateuszrzeszutek mateuszrzeszutek merged commit a9c0659 into open-telemetry:main Jan 31, 2023
@mateuszrzeszutek mateuszrzeszutek deleted the use-interface-in-semconv branch January 31, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants