Library Name
Slick
Library Version(s)
3.2
Describe the feature you'd like
I'd like to capture and restore the full Context in SlickRunnableInstrumentation. Right now it only stores the span ((https://github.com/DataDog/dd-trace-java/blob/v1.59.0/dd-java-agent/instrumentation/slick-3.2/src/main/java/datadog/trace/instrumentation/slick/SlickRunnableInstrumentation.java), so anything else attached to the context(notably OTel baggage) is dropped across a Slick action.
It appears as though AdviceUtils.capture() only stores Span. Since Baggage is a separate keys in datadog.context.Context, it gets dropped at this boundary.
Is your feature request related to a problem?
No response
Describe alternatives you've considered
No response
Additional context
No response
Library Name
Slick
Library Version(s)
3.2
Describe the feature you'd like
I'd like to capture and restore the full Context in SlickRunnableInstrumentation. Right now it only stores the span ((https://github.com/DataDog/dd-trace-java/blob/v1.59.0/dd-java-agent/instrumentation/slick-3.2/src/main/java/datadog/trace/instrumentation/slick/SlickRunnableInstrumentation.java), so anything else attached to the context(notably OTel baggage) is dropped across a Slick action.
It appears as though
AdviceUtils.capture()only storesSpan. Since Baggage is a separate keys indatadog.context.Context, it gets dropped at this boundary.Is your feature request related to a problem?
No response
Describe alternatives you've considered
No response
Additional context
No response