$npx skillfedfor your agent

opentelemetry-instrumentation-aiopg

OpenTelemetry aiopg instrumentation

With conditionsPyPI MonitoringReleased Jul 20263.3M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_instrumentation_aiopg-0.65b0-py3-none-any.whl
v0.65b0 · released 2026-07-16 · Python >=3.10 · 4 runtime deps: opentelemetry-api, opentelemetry-instrumentation-dbapi, opentelemetry-instrumentation, wrapt

Yes, if you use aiopg in an async application and need distributed tracing. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it safe to adopt. The beta status is not a blocker—it reflects ongoing refinement, not instability. Install it if observability of your async database layer is a priority; skip it if you have no tracing infrastructure or do not use aiopg.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; aiopg must be installed and used in an async context; an OpenTelemetry exporter must be configured separately to send traces.
  • Low install friction with four runtime dependencies.
  • Actively maintained as of 2026-08-14 with recent releases.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions beyond attribution.

last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,285,352 downloads/mo, #2,673 on PyPI

Verify before relying

pip install opentelemetry-instrumentation-aiopg

from opentelemetry.instrumentation.aiopg import AiopgInstrumentor
AiopgInstrumentor().instrument()
  • Whether instrumentation works with all aiopg connection pool patterns or only direct connections.
  • Performance overhead of tracing in high-throughput async database workloads.
  • Compatibility with specific OpenTelemetry exporter backends (Jaeger, Datadog, etc.).
Same gist for agents: .md · .json

What it is and what it does

This package integrates OpenTelemetry tracing into aiopg, the async PostgreSQL driver for Python. When installed and initialized, it automatically wraps aiopg database calls to emit spans—structured records of database operations—that can be exported to observability platforms for monitoring, debugging, and performance analysis.

It sits between your application and aiopg, intercepting queries and connections to record timing, status, and query details. The instrumentation depends on opentelemetry-instrumentation-dbapi for shared database tracing logic and wrapt for non-invasive function wrapping. It is currently in beta (version 0.65b0) and requires Python 3.10 or later.

Use it for

  • Monitor query latency and database operation timing in async web applications using aiopg.
  • Correlate database calls with HTTP requests and other services in distributed tracing systems.
  • Debug slow or failing database operations by examining detailed spans in a tracing backend.
  • Track database connection pool behavior and identify bottlenecks in async workloads.
  • Export database metrics to observability platforms like Jaeger or Datadog for centralized monitoring.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use aiopg in an async application and need distributed tracing.

The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it safe to adopt. The beta status is not a blocker—it reflects ongoing refinement, not instability. Install it if observability of your async database layer is a priority; skip it if you have no tracing infrastructure or do not use aiopg.

Install

opentelemetry-instrumentation-aiopg on PyPI

Before you install

Low install friction with four runtime dependencies. Actively maintained as of 2026-08-14 with recent releases. Beta status (0.65b0) indicates the instrumentation is still stabilizing but usable.

Requires Python 3.10 or later; aiopg must be installed and used in an async context; an OpenTelemetry exporter must be configured separately to send traces.

License in practice

Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions beyond attribution.

Quickstart

pip install opentelemetry-instrumentation-aiopg

from opentelemetry.instrumentation.aiopg import AiopgInstrumentor
AiopgInstrumentor().instrument()

Verify before relying

  • Whether instrumentation works with all aiopg connection pool patterns or only direct connections.
  • Performance overhead of tracing in high-throughput async database workloads.
  • Compatibility with specific OpenTelemetry exporter backends (Jaeger, Datadog, etc.).

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
opentelemetry-apiopentelemetry-instrumentation-dbapiopentelemetry-instrumentationwrapt
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads3,285,352 / month, #2,673 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: opentelemetry_instrumentation_aiopg-0.65b0-py3-none-any.whl

Tags

Capabilities
opentelemetry aiopg instrumentationasync postgres tracingaiopg distributed tracingdatabase span instrumentationopentelemetry database monitoringaiopg observabilityasync database tracing
Topics
observabilityasync-postgresinstrumentation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “opentelemetry aiopg instrumentation”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also opentelemetry-instrumentation-asyncpg · opentelemetry-instrumentation-mysql · opentelemetry-instrumentation-aiokafka · opentelemetry-instrumentation-psycopg2 · opentelemetry-instrumentation-aio-pika · opentelemetry-instrumentation-psycopg · opentelemetry-instrumentation-sqlalchemy · aiopg · opentelemetry-instrumentation-cassandra · opentelemetry-instrumentation-redis