-
Notifications
You must be signed in to change notification settings - Fork 859
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
Simplify db getter and extractor hierarchy #12602
Conversation
51f114e
to
62e11c9
Compare
@Deprecated | ||
public interface DbClientCommonAttributesGetter<REQUEST> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I returned this class to how it existed in the last release (v2.9.0
), so the method removals in this class are ok if we merge before v2.10.0
import io.opentelemetry.instrumentation.api.internal.SpanKeyProvider; | ||
import javax.annotation.Nullable; | ||
|
||
abstract class DbClientCommonAttributesExtractor< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this class was package-private, so I think ok to delete
Closing, I need to think about this more. I'm not sure that Also not sure where |
Remove
DbClientCommonAttributesGetter
andDbClientCommonAttributesExtractor
, consolidating their functionality intoDbClientAttributesGetter
andDbClientAttributesExtractor
.