No project description provided
Project description
OTLP-PSQLPy
This library allows tracing PostgreSQL queries made by the psqlpy library.
Usage
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")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
otlp_psqlpy-0.2.2.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file otlp_psqlpy-0.2.2.tar.gz.
File metadata
- Download URL: otlp_psqlpy-0.2.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.1 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d00c3507f9a657f52b5c312cbe91c236ed5f236332cbc113c5839b4070e163b4
|
|
| MD5 |
05620f7958a13aec7d7f4ef1886ad345
|
|
| BLAKE2b-256 |
dc1feaddb06ace590dad3255e89579d8e4e798b1d5a25a3c6066dc1cbd9f8429
|
File details
Details for the file otlp_psqlpy-0.2.2-py3-none-any.whl.
File metadata
- Download URL: otlp_psqlpy-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.1 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fade742be4e151b53cac067ff61684598d48c10292c0b74330fd44dda921b244
|
|
| MD5 |
20fe9749c8aedd9e520bf87366cc8f7b
|
|
| BLAKE2b-256 |
4b63219537914e99dd85b18df2fa1cd1b6063a3b8dd3102d04b87dc29409d5ec
|