Bug #119134 Not all OpenTelemetry Context Keys in query attributes are removed

Submitted: 11 Oct 2025 7:26 Modified: 30 Nov 2025 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 2025 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 2025 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 2025 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".

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.