skillfed

opentelemetry-instrumentation-pyramid

OpenTelemetry Pyramid instrumentation

opentelemetry-instrumentation-pyramid v0.65b0 3.7M downloads/30d#2,527 on PyPI1,086
Permissive license Apache-2.0 Active released

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-pyramid

uv

uv add opentelemetry-instrumentation-pyramid

poetry

poetry add opentelemetry-instrumentation-pyramid

Installing 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

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

Tags

pyramid web framework tracingopentelemetry pyramid instrumentationautomatic http request monitoringdistributed tracing pyramid appspyramid performance metricswsgi instrumentationobservability pyramid framework
observabilitydistributed-tracingpyramid-framework

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-flask

Adds distributed tracing to Flask web…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-tornado

Adds OpenTelemetry tracing instrumentation to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-jinja2

Adds OpenTelemetry tracing instrumentation to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-grpc

Adds automatic tracing and monitoring to gRPC…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-pymongo

Adds automatic tracing and observability…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-wsgi

Provides WSGI middleware for OpenTelemetry that…

permissive · top 1,000 on PyPI

instana

Instana is a Python instrumentation package…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-pymemcache

Adds OpenTelemetry tracing instrumentation to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-django

Adds distributed tracing to Django applications…

permissive · top 1,000 on PyPI

cornice

Cornice provides decorators and utilities to…

copyleft · top 15,000 on PyPI