opentelemetry-instrumentation-pyramid
OpenTelemetry Pyramid instrumentation
What it is and what it does
OpenTelemetry Pyramid Instrumentation is a plugin that automatically hooks into Pyramid web applications to emit distributed tracing and metrics data. It wraps HTTP request handling to capture request/response details, timing, and errors without requiring changes to your application code. The package sits on top of the OpenTelemetry API and instrumentation framework, using WSGI instrumentation as its foundation.
Once installed and initialized, it collects observability signals that can be exported to tracing backends (Jaeger, Zipkin, etc.) or metrics systems. It's part of the OpenTelemetry Python contrib ecosystem and targets developers building Pyramid applications who need visibility into request flows, latency, and error rates across distributed systems.
Use it for:
- Instrument a Pyramid microservice to emit traces to a central tracing backend for request flow visualization.
- Collect HTTP request metrics (latency, error rates, throughput) from a Pyramid application for alerting.
- Debug slow endpoints in a Pyramid app by correlating traces with application logs via trace IDs.
- Monitor a Pyramid service in a distributed system to track cross-service request propagation.
- Gather performance baselines on Pyramid endpoints before and after code changes.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds automatic tracing and metrics collection to Pyramid web applications via OpenTelemetry, capturing HTTP requests, responses, and performance data without modifying application code.
Yes, if you run Pyramid applications and need observability. The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly with the OpenTelemetry ecosystem. No known vulnerabilities. The main condition is that you have an OpenTelemetry exporter configured to actually send the collected data somewhere—the instrumentation alone emits signals but does not export them by default.
Install
opentelemetry-instrumentation-pyramid on PyPI
pip
pip install opentelemetry-instrumentation-pyramiduv
uv add opentelemetry-instrumentation-pyramidpoetry
poetry add opentelemetry-instrumentation-pyramidInstalling opentelemetry-instrumentation-pyramid
Before you install
Low friction install with a wheel distribution. Actively maintained as of 2026-07-16 with recent activity. Depends on six OpenTelemetry core packages (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, opentelemetry-util-http, opentelemetry-instrumentation-wsgi, wrapt), all standard instrumentation infrastructure.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions—include a copy of the license and note any material modifications.
Quickstart
pip install opentelemetry-instrumentation-pyramid
from pyramid.config import Configurator
from opentelemetry.instrumentation.pyramid import PyramidInstrumentor
PyramidInstrumentor().instrument()
config = Configurator()
# ... configure your Pyramid app
Requires Python 3.10 or later; Pyramid application must be configured after instrumentation is initialized.
Verify before relying
- Whether instrumentation works with Pyramid versions prior to the package's first release in 2020-08-14.
- Specific OpenTelemetry exporters or backends required to actually send traces and metrics somewhere.
- Performance overhead of instrumentation in production workloads.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — opentelemetry-api, opentelemetry-instrumentation-wsgi, opentelemetry-instrumentation, opentelemetry-semantic-conventions, opentelemetry-util-http, wrapt |
| Maintenance | actively maintained — 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,690,856/month — #2,527 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: opentelemetry_instrumentation_pyramid-0.65b0-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-flaskAdds distributed tracing to Flask web…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-tornadoAdds OpenTelemetry tracing instrumentation to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-jinja2Adds OpenTelemetry tracing instrumentation to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-grpcAdds automatic tracing and monitoring to gRPC…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-pymongoAdds automatic tracing and observability…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-wsgiProvides WSGI middleware for OpenTelemetry that…
permissive · top 1,000 on PyPI
instanaInstana is a Python instrumentation package…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-pymemcacheAdds OpenTelemetry tracing instrumentation to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-djangoAdds distributed tracing to Django applications…
permissive · top 1,000 on PyPI
corniceCornice provides decorators and utilities to…
copyleft · top 15,000 on PyPI