OpenCensus MySQL Integration
============================================================================

|pypi|

.. |pypi| image:: https://badge.fury.io/py/opencensus-ext-mysql.svg
   :target: https://pypi.org/project/opencensus-ext-mysql/

The integration with MySQL supports the `mysql-connector`_ library and is specified
to ``trace_integrations`` using ``'mysql'``.

.. _mysql-connector: https://pypi.org/project/mysql-connector

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

::

    pip install opencensus-ext-mysql

Usage
-----

.. code:: python

    from opencensus.trace import config_integration

    config_integration.trace_integrations(['mysql'])

References
----------

* `OpenCensus Project <https://opencensus.io/>`_
