Opentelemetry Instrumentation for rq
This library provides an OpenTelemetry Instrumentation library for Python RQ (Redis Queue). It enables distributed tracing and monitoring of tasks produced and processed by RQ workers, making it easier to gain insights into your application's performance and behavior.
Supported Features
Automatic tracing when
- Task producing, via
rq.queue.Queue._enqueueorrq.queue.Queue.schedule_job - Task execution, via
rq.worker.Worker.perform_job,rq.job.Job.perform - Span link between jobs which have dependencies (i.e, produce with
queue.enqueue(f, depends_on=xxx)) - Callback function execution after a job succeeds, fails, or stops, via
rq.job.Job.execute_*_callback
Installation
Install this package with pip:
pip install opentemeletry_instrumentation_rq
Usage
Quick Start
In your RQ producer or worker code, initialize the OpenTelemetry RQ instrumentation:
from opentelemetry_instrumentation_rq import RQInstrumentor
RQInstrumentator().instrument()
Additional Scenarios
For more use cases, refer to the tests in tests/e2e_test. You can launch an RQ worker using tests/e2e_test/simulator/worker.py and execute producer commands from tests/e2e_test/test_simulation.py.
License
This project is licensed under the MIT License.
Metadata
Release files for opentelemetry-instrumentation-rq 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opentelemetry_instrumentation_rq-0.1.4.tar.gz | 7.1 kB | With provenance | Details for opentelemetry_instrumentation_rq-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opentelemetry_instrumentation_rq-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for opentelemetry_instrumentation_rq-0.1.4-py3-none-any.whl |
Total release size: 14.9 kB
Release files / opentelemetry_instrumentation_rq-0.1.4.tar.gz
| Download URL | opentelemetry_instrumentation_rq-0.1.4.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14076f035cee71b7eacba451cff774c09de1ce81f206aa4c2b1d9cb65c4f7cfb
|
|
BLAKE2b-256 checksum How to use checksums |
05f295ccfe37fe8372c825b09259aff51b564552b12df8003c619011f59e72e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 6, 2026.
Transparency logRelease files / opentelemetry_instrumentation_rq-0.1.4-py3-none-any.whl
| Download URL | opentelemetry_instrumentation_rq-0.1.4-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fd68a6d255ae29f6f40a3a22bde0fc101ae99bbc20c88f359435dee35d9ae73
|
|
BLAKE2b-256 checksum How to use checksums |
bc6d540ea9b6a83cf1c37c5fda0699dab0bf4bcb51b42753c2cbbfdb35226911
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 6, 2026.
Transparency logSecurity for opentelemetry-instrumentation-rq 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for opentelemetry_instrumentation_rq-0.1.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.