opentelemetry-instrumentation-celery
OpenTelemetry Celery Instrumentation
Decision gist · record as of 2026-08-14
Yes, if you run Celery in production and need observability into task execution. The package is actively maintained, has no known vulnerabilities, installs with low friction, and is part of the widely-adopted OpenTelemetry ecosystem. Install it if you already use or plan to use OpenTelemetry for tracing; skip it if you have no tracing infrastructure in place or use a different observability tool that doesn't integrate with OpenTelemetry.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; Celery itself must be installed and configured separately.
- Low friction installation with three lightweight runtime dependencies (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions).
- Package is actively maintained with a recent release and no known vulnerabilities.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; attribution required but no copyleft obligations.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,866,605 downloads/mo, #1,430 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-celery
from opentelemetry.instrumentation.celery import CeleryInstrumentor
CeleryInstrumentor().instrument()- Whether this package automatically detects and instruments existing Celery apps or requires explicit configuration per app instance.
- What span attributes and metrics are captured for Celery tasks (task name, args, result, exception details, queue name).
- Whether it supports both task execution tracing and task scheduling/enqueue tracing.
- Compatibility with Celery versions and whether there are known limitations with specific Celery features (task routing, retries, etc.).
What it is and what it does
This package integrates OpenTelemetry tracing into Celery, the popular distributed task queue library. It automatically instruments Celery task execution to emit spans that capture task lifecycle events—when tasks are sent, received, started, and completed—making it possible to trace task flows across distributed systems and correlate them with other instrumented services. The package depends on the OpenTelemetry API and instrumentation framework, which provide the underlying tracing infrastructure.
You install it alongside your Celery setup and call the instrumentation once at application startup. It then hooks into Celery's task execution to emit traces that can be exported to any OpenTelemetry-compatible backend (Jaeger, Datadog, New Relic, etc.). This is most useful when you need end-to-end visibility into asynchronous task processing, especially in microservice architectures where tasks span multiple services or when debugging task failures and performance issues.
Use it for
- Trace task execution across a distributed Celery cluster to identify bottlenecks and latency in async job processing.
- Correlate Celery task spans with HTTP request traces to see the full path of work triggered by a user action.
- Debug task failures by examining task span logs, exceptions, and timing data in a centralized tracing backend.
- Monitor task queue health by collecting metrics on task duration, success/failure rates, and queue depth over time.
- Investigate performance regressions in task processing by comparing span data before and after code changes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you run Celery in production and need observability into task execution.
The package is actively maintained, has no known vulnerabilities, installs with low friction, and is part of the widely-adopted OpenTelemetry ecosystem. Install it if you already use or plan to use OpenTelemetry for tracing; skip it if you have no tracing infrastructure in place or use a different observability tool that doesn't integrate with OpenTelemetry.
Install
opentelemetry-instrumentation-celery on PyPI
Before you install
Low friction installation with three lightweight runtime dependencies (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions). Package is actively maintained with a recent release and no known vulnerabilities.
Requires Python 3.10 or later; Celery itself must be installed and configured separately.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; attribution required but no copyleft obligations.
Quickstart
pip install opentelemetry-instrumentation-celery
from opentelemetry.instrumentation.celery import CeleryInstrumentor
CeleryInstrumentor().instrument()
Verify before relying
- Whether this package automatically detects and instruments existing Celery apps or requires explicit configuration per app instance.
- What span attributes and metrics are captured for Celery tasks (task name, args, result, exception details, queue name).
- Whether it supports both task execution tracing and task scheduling/enqueue tracing.
- Compatibility with Celery versions and whether there are known limitations with specific Celery features (task routing, retries, etc.).
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventions |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 10,866,605 / month, #1,430 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_celery-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 › “celery tracing instrumentation”
- opentelemetry-instrumentation-celeryAdds distributed tracing and observability to Celery task queues via…
- scout-apmScout APM is a Python application performance monitoring agent that…
- opentelemetry-instrumentationProvides automatic instrumentation commands and programmatic APIs to…
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 elastic-opentelemetry · opentelemetry-instrumentation-asyncio · opentelemetry-instrumentation-jinja2 · opentelemetry-instrumentation-remoulade · opentelemetry-instrumentation-click · opentelemetry-instrumentation-aiokafka · opentelemetry-instrumentation-grpc · opentelemetry-instrumentation-pymongo · opentelemetry-instrumentation-kafka-python · opentelemetry-instrumentation-pymemcache