Skip to main content

Installation

🐍 Don’t forget to install the AppSignal for Python package in your application first.
When using SQLAlchemy, do not install the instrumentation packages for the underlying database adapter (such as those for MySQL, PostgreSQL or SQLite). The instrumentation for SQLAlchemy will automatically instrument queries to the underlying database. Installing both instrumentation packages will result in duplicate events.
Install the opentelemetry-instrumentation-sqlalchemy package. To add it to your project, add the following line to your requirements.txt file:

<PythonDisableInstrumentations />
# requirements.txt
opentelemetry-instrumentation-sqlalchemy