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.1.0.tar.gz (3.8 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.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file otlp_psqlpy-0.1.0.tar.gz.

File metadata

  • Download URL: otlp_psqlpy-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 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

Hashes for otlp_psqlpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8762702a4a67a1ba84fc47c874607288189cdf84a13f0cd3804c58983d19b665
MD5 f3b6659fda95b4039a73790242713334
BLAKE2b-256 427f0a638fcff28506de28fa0bb22cf17000a125d43dfdb20cdadc513935d058

See more details on using hashes here.

File details

Details for the file otlp_psqlpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: otlp_psqlpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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

Hashes for otlp_psqlpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6152d2f78a04caeabe36e30126dbb31b6770a31b657e3a87087944d5f7b39ac8
MD5 98814d5075a9663b12b4a56977ad3e08
BLAKE2b-256 145ef961f916ae9c20197cf46ab8690b8e821e6ef82745f5541b971cb71b7888

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