Bug #115845 Contribution: Set correct OTel Span name for transaction commits
Submitted: 15 Aug 2024 13:09 Modified: 8 Jul 0:39
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:9.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[15 Aug 2024 13:09] OCA Admin
Description:
This bug tracks a contribution by Willem Fibbe (Github user: fibbers), as described in http://github.com/mysql/mysql-connector-j/pull/109

How to repeat:
See description

Suggested fix:
See contribution code attached
[15 Aug 2024 13:09] OCA Admin
Contribution submitted via Github - Set correct OTel Span name for transaction commits 
(*) Contribution by Willem Fibbe (Github fibbers, mysql-connector-j/pull/109#issuecomment-2291214154): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_2010336290.txt (text/plain), 1.24 KiB.

[15 Aug 2024 13:15] MySQL Verification Team
Hello Willem Fibbe,

Thank you for the report and contribution.

regards,
Umesh
[2 Apr 15:17] Axyoan Marcelo
Duplicated by Bug#117844
[8 Jul 0:39] Daniel So
Posted by developer:
 
Added the following entry to the Connector/J 9.4.0 changelog: 

"In the Open Telemetry tracing information, commit operations appeared as Rollback spans. This fix corrected them to be Commit spans. Thanks to Willem Fibbe for contributing the fix."