Installation
🐍 Don’t forget to install the AppSignal for Python package in your application first.
mysql(from themysql-connector-pythonpackage)mysqlclientpymysql
Using mysql
When using the mysql-connector-python MySQL adapter package (which is imported as mysql), install the opentelemetry-instrumentation-mysql package. To add it to your project, add the following line to your requirements.txt file:
Using mysqlclient
When using the mysqlclient MySQL adapter package, install the opentelemetry-instrumentation-mysqlclient package. To add it to your project, add the following line to your requirements.txt file:
Using pymysql
When using the pymysql MySQL adapter package, install the opentelemetry-instrumentation-pymysql package. To add it to your project, add the following line to your requirements.txt file: