6 Commits

Author SHA1 Message Date
7b1554bddc Add PyMySQL instrumentor support for sqlcommenting (#2942)
* WIP

* Add _DB_DRIVER_ALIASES

* Add mysql_client_version to sqlcomment

* lint

* Fix existing tests

* lint test

* Add PyMySQL dbapi commenter case

* Add test

* Add test

* Add test

* Add tests

* Changelog

* calculate_commenter_data at init of DatabaseApiIntegration

* try-except if NoneType module

* Add pymysql sqlcomment support

* Add unit tests

* Update docstring

* Changelog

* pymysql instrument_connection specifies connect_module

* lint

* Add tests

* Fix doc

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-11-21 16:21:12 +00:00
593f86fd04 Adds NoOpTracerProvider test case for pymysql instrumentation (#2581) 2024-06-21 12:25:01 -07:00
b8d7448f34 Revert #1097 (#1660)
Several issues have arisen from this bugfix, reverting here until a
better solution can be found.

Fixes #1658

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-02-13 10:46:29 -06:00
6876ad857f Refactor TracedConnectionProxy (#1097)
* Refactor TracedConnectionProxy

Fixes #1077

* Remove unecessary methods
2022-06-07 18:20:59 +01:00
ffc2a2ff4c More consistent assertion methods (#641)
* More consistent assertion methods

* Updated core SHA
2021-08-30 22:46:18 +02:00
8f6af8172b Rename db framework packages from "ext" to "instrumentation" (#966) 2020-10-22 17:14:38 -07:00