opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentati...
Tammy Baylis beff723389
Add mysqlclient instrumentor support for sqlcommenting (#2941)
* 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

* Add mysqlclient sqlcomment support

* Fix typo

* try-except if NoneType module

* Add unit test

* CHangelog

* mysqlclient instrument_connection with connect_module

* add tests

* more tests

* more tests 2

* lint

* Redesign tests

* Rm unnecessary mocks
2024-11-21 10:37:08 -05:00
..
src/opentelemetry/instrumentation/mysqlclient Add mysqlclient instrumentor support for sqlcommenting (#2941) 2024-11-21 10:37:08 -05:00
tests Add mysqlclient instrumentor support for sqlcommenting (#2941) 2024-11-21 10:37:08 -05:00
LICENSE fix: revert modifications to Apache license (#2429) 2024-04-22 13:23:38 -05:00
README.rst Instrument mysqlclient library (#1744) 2023-07-12 21:09:26 +02:00
pyproject.toml Update version to 1.29.0.dev/0.50b0.dev (#2954) 2024-11-05 14:22:03 -08:00
test-requirements.txt Remove pkg resources (#2871) 2024-10-19 06:49:08 -07:00

README.rst

OpenTelemetry mysqlclient Instrumentation
=========================================

|pypi|

.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-mysqlclient.svg
   :target: https://pypi.org/project/opentelemetry-instrumentation-mysqlclient/

Installation
------------

::

    pip install opentelemetry-instrumentation-mysqlclient


References
----------
* `OpenTelemetry mysqlclient Instrumentation <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/mysqlclient/mysqlclient.html>`_
* `OpenTelemetry Project <https://opentelemetry.io/>`_
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_