Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.rst

OpenCensus SQLAlchemy Integration

pypi

You can trace usage of the sqlalchemy package, regardless of the underlying database, by specifying 'sqlalchemy' to trace_integrations.

Note

If you enable tracing of SQLAlchemy as well as the underlying database driver, you will get duplicate spans. Instead, just trace SQLAlchemy.

Installation

pip install opencensus-ext-sqlalchemy

Usage

from opencensus.trace import config_integration

config_integration.trace_integrations(['sqlalchemy'])

References