opentelemetry-instrumentation-pika
OpenTelemetry pika instrumentation
Decision gist · record as of 2026-08-14
Yes, if you are already using pika and OpenTelemetry in your stack and need visibility into message queue operations. The low install friction, active maintenance, and permissive license make it a straightforward addition. However, note that this is a beta release (0.65b0); verify stability requirements for your use case before deploying to production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; pika must be installed separately and OpenTelemetry exporters must be configured to send traces to a backend.
- Low friction install with a small, stable dependency tree.
- Released 29 days ago with active maintenance; the project repository is current and not archived.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production environments.
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,957,904 downloads/mo, #2,435 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-pika
from opentelemetry.instrumentation.pika import PikaInstrumentor
PikaInstrumentor().instrument()- Whether this beta version (0.65b0) is stable enough for production use or intended for testing only.
- Specific pika versions supported by this instrumentation.
- Whether automatic instrumentation is enabled by default or requires explicit setup.
What it is and what it does
This package integrates pika (the RabbitMQ Python client) with OpenTelemetry, the standard observability framework. It automatically captures tracing data from pika message operations—publishing, consuming, and queue interactions—and emits them as OpenTelemetry spans that can be exported to tracing backends like Jaeger or Datadog.
The instrumentation works by wrapping pika's core methods using the wrapt library, so traces flow through your message queue operations without requiring code changes to your pika calls. It depends on the opentelemetry-api, opentelemetry-instrumentation, and opentelemetry-semantic-conventions packages to define and emit the spans. This is a beta release (0.65b0) maintained as part of the OpenTelemetry Python contrib project.
Use it for
- Trace RabbitMQ message flow across microservices to identify latency bottlenecks in message publishing and consumption.
- Correlate message queue operations with other distributed traces (HTTP requests, database calls) for end-to-end observability.
- Debug message delivery issues by inspecting span data for failed or delayed queue operations.
- Monitor pika client health and performance metrics by exporting instrumentation data to a tracing backend.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using pika and OpenTelemetry in your stack and need visibility into message queue operations.
The low install friction, active maintenance, and permissive license make it a straightforward addition. However, note that this is a beta release (0.65b0); verify stability requirements for your use case before deploying to production.
Install
opentelemetry-instrumentation-pika on PyPI
Before you install
Low friction install with a small, stable dependency tree. Released 29 days ago with active maintenance; the project repository is current and not archived.
Requires Python 3.10 or later; pika must be installed separately and OpenTelemetry exporters must be configured to send traces to a backend.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production environments.
Quickstart
pip install opentelemetry-instrumentation-pika
from opentelemetry.instrumentation.pika import PikaInstrumentor
PikaInstrumentor().instrument()
Verify before relying
- Whether this beta version (0.65b0) is stable enough for production use or intended for testing only.
- Specific pika versions supported by this instrumentation.
- Whether automatic instrumentation is enabled by default or requires explicit setup.
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-conventionspackagingwrapt |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,957,904 / month, #2,435 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_pika-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 › “pika tracing instrumentation”
- opentelemetry-instrumentation-pikaAdds distributed tracing to pika (RabbitMQ client library) by…
- types-pika-tsProvides type stubs for the pika AMQP client library, enabling static…
- types-pikaProvides type stubs for the Pika RabbitMQ client library, enabling…
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-aio-pika · opentelemetry-instrumentation-redis · pika · opentelemetry-instrumentation-httpx · opentelemetry-instrumentation-aiokafka · opentelemetry-instrumentation-boto · opentelemetry-instrumentation-django · opentelemetry-instrumentation-flask · aio-pika · aws-opentelemetry-distro