Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

otlp_psqlpy-0.2.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for otlp_psqlpy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d00c3507f9a657f52b5c312cbe91c236ed5f236332cbc113c5839b4070e163b4
MD5 05620f7958a13aec7d7f4ef1886ad345
BLAKE2b-256 dc1feaddb06ace590dad3255e89579d8e4e798b1d5a25a3c6066dc1cbd9f8429

See more details on using hashes here.

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

Hashes for otlp_psqlpy-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fade742be4e151b53cac067ff61684598d48c10292c0b74330fd44dda921b244
MD5 20fe9749c8aedd9e520bf87366cc8f7b
BLAKE2b-256 4b63219537914e99dd85b18df2fa1cd1b6063a3b8dd3102d04b87dc29409d5ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page