Bug #119134 Not all OpenTelemetry Context Keys in query attributes are removed
Submitted: 11 Oct 7:26 Modified: 30 Nov 18:16
Reporter: white john Email Updates:
Status: No 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.
[1 Dec 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".