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.1.1.tar.gz
(5.2 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.1.1.tar.gz.
File metadata
- Download URL: otlp_psqlpy-0.1.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e90d4a43b0dab1b6370507b2925cb816c937824c86b52c533ba2b3093e367900
|
|
| MD5 |
00989f35838dcf75e035f5b61b6878da
|
|
| BLAKE2b-256 |
9e82da841437bf50670101bab6fa8b48c2bb54710aa09c648e8295a5a28803bf
|
File details
Details for the file otlp_psqlpy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: otlp_psqlpy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2d162360e52558be994b1d5f64f4431a22101929ce897ce65b3f11a91965cf0
|
|
| MD5 |
83b15de8252138970b821c392af2193a
|
|
| BLAKE2b-256 |
6b0aecdee23005b82ece2319a3288cee89d0cc647b7f08442579c96f7dd32bc5
|