Bug #119134 Not all OpenTelemetry Context Keys in query attributes are removed
Submitted: 11 Oct 7:26 Modified: 30 Oct 18:16
Reporter: white john Email Updates:
Status: Need Feedback Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:9.4.0 OS:Any
Assigned to: CPU Architecture:Any

[11 Oct 7:26] white john
Description:
only traceparent is removed not, baggage is not removed,
what's more, if User choose another propagator such as jager or zipkin, nothing will be removed。
this will cause bigger and bigger query attributes if we reuse the same preparestatement

How to repeat:
https://dev.mysql.com/doc/connector-j/en/connector-j-opentelemetry.html
As for the demo above, juest add -Dotel.propagators=jaeger can repeat this issure
[30 Oct 18:16] Filipe Silva
Thanks for your interest in MySQL Connector/J.

Please provide more details. What exactly are you observing, what are your expectations, and provide or describe a full test case.