opentelemetry-instrumentation-aiohttp-server
Aiohttp server instrumentation for OpenTelemetry
Decision gist · record as of 2026-08-14
Yes, if you are running aiohttp servers and need distributed tracing. The package has low install friction, active maintenance, no known vulnerabilities, and Apache-2.0 licensing. The Beta status warrants checking release notes, but the OpenTelemetry ecosystem is mature and widely used in production. Install it as part of your observability stack.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; aiohttp server library must be installed separately and configured before instrumentation is applied.
- Low friction install with a stable dependency chain.
- Actively maintained as of 2026-08-14 with recent releases; marked Beta but part of the established OpenTelemetry ecosystem.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects, including proprietary software, with minimal legal friction.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,375,973 downloads/mo, #3,986 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-aiohttp-server
from opentelemetry.instrumentation.aiohttp_server import AioHttpServerInstrumentor
AioHttpServerInstrumentor().instrument()- Whether this version (0.65b0) is production-ready or still experimental despite Beta status
- Compatibility with specific aiohttp server versions not listed in the fact sheet
- Performance overhead of instrumentation in high-throughput scenarios
What it is and what it does
This package integrates OpenTelemetry tracing into aiohttp server applications, automatically capturing HTTP request and response data for distributed tracing. It works by instrumenting the aiohttp server library to emit trace spans that can be exported to observability backends like Jaeger, Datadog, or other OpenTelemetry-compatible collectors.
The package depends on opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, opentelemetry-util-http, and wrapt to hook into aiohttp's request lifecycle. It requires Python 3.10 or later and is designed for developers building async web services who need visibility into HTTP traffic patterns, latencies, and errors across distributed systems.
Use it for
- Add distributed tracing to an aiohttp server to track request flows across microservices
- Export HTTP request spans to a tracing backend for performance monitoring and debugging
- Correlate aiohttp server requests with upstream client traces in a full-stack observability setup
- Capture HTTP metadata (status codes, headers, latency) automatically without modifying handler code
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are running aiohttp servers and need distributed tracing.
The package has low install friction, active maintenance, no known vulnerabilities, and Apache-2.0 licensing. The Beta status warrants checking release notes, but the OpenTelemetry ecosystem is mature and widely used in production. Install it as part of your observability stack.
Install
opentelemetry-instrumentation-aiohttp-server on PyPI
Before you install
Low friction install with a stable dependency chain. Actively maintained as of 2026-08-14 with recent releases; marked Beta but part of the established OpenTelemetry ecosystem.
Requires Python 3.10 or later; aiohttp server library must be installed separately and configured before instrumentation is applied.
License in practice
Apache-2.0 permissive license allows use in most projects, including proprietary software, with minimal legal friction.
Quickstart
pip install opentelemetry-instrumentation-aiohttp-server
from opentelemetry.instrumentation.aiohttp_server import AioHttpServerInstrumentor
AioHttpServerInstrumentor().instrument()
Verify before relying
- Whether this version (0.65b0) is production-ready or still experimental despite Beta status
- Compatibility with specific aiohttp server versions not listed in the fact sheet
- Performance overhead of instrumentation in high-throughput scenarios
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventionsopentelemetry-util-httpwrapt |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,375,973 / month, #3,986 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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_aiohttp_server-0.65b0-py3-none-any.whl
Tags
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 › “aiohttp server tracing”
- opentelemetry-instrumentation-aiohttp-serverAdds distributed tracing to aiohttp server applications by…
- opentelemetry-instrumentation-aiohttp-clientAdds distributed tracing to HTTP requests made by the aiohttp client…
- httpdbghttpdbg intercepts and displays HTTP(S) requests made by or received…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
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.
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.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
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.
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.
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.
See also opentelemetry-instrumentation-aiohttp-client · opentelemetry-instrumentation-starlette · opentelemetry-instrumentation-boto · opentelemetry-instrumentation-aiokafka · acceldata-sdk · opentelemetry-instrumentation-django · opentelemetry-instrumentation-aio-pika · opentelemetry-instrumentation-fastapi · opentelemetry-instrumentation-boto3sqs · opentelemetry-instrumentation-redis