| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This library allows tracing PostgreSQL queries made by the psqlpy library.
import psqlpy
from otlp_psqlpy import PSQLPyPGInstrumentor
# You can optionally pass a custom TracerProvider to PSQLPyPGInstrumentor.instrument()
PSQLPyPGInstrumentor().instrument()
async def main():
pool = psqlpy.ConnectionPool()
conn = await pool.connection()
await conn.execute("SELECT * FROM psqlpy")| Back | FazBrowse Home | New Git URL |