opentelemetry-instrumentor-dramatiq
Opentelemetry traces instrumentation for Dramatiq (An async processing library for python)
Installation
pip install opentelemetry-instrumentor-dramatiq
Usage
import dramatiq
from opentelemetry import trace
from opentelemetry_instrumentor_dramatiq import DramatiqInstrumentor
tracer = trace.get_tracer(__name__)
# Instrument the dramatiq library at the start of your application
DramatiqInstrumentor().instrument()
@dramatiq.actor(queue_name="default")
@tracer.start_as_current_span("my_actor") # trace the actor
def my_actor(message):
print(message)
my_actor.send("Hello, world!")
Contributing
Contributions are welcome!
Metadata
Release files for opentelemetry-instrumentor-dramatiq 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_instrumentor_dramatiq-0.1.4.tar.gz | 4.6 kB | Without provenance | Details for opentelemetry_instrumentor_dramatiq-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opentelemetry_instrumentor_dramatiq-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for opentelemetry_instrumentor_dramatiq-0.1.4-py3-none-any.whl |
Total release size: 9.8 kB
Release files / opentelemetry_instrumentor_dramatiq-0.1.4.tar.gz
| Download URL | opentelemetry_instrumentor_dramatiq-0.1.4.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4937e70129af4a58d0a48eeceef9359a2fc1382e114ea097ed1bd0c3225f6b63
|
|
BLAKE2b-256 checksum How to use checksums |
5e98315163c456f048fa18d812b2b76b18452475744bc1fc4fdce5c791689079
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / opentelemetry_instrumentor_dramatiq-0.1.4-py3-none-any.whl
| Download URL | opentelemetry_instrumentor_dramatiq-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6758eec57375ab847372b9e75ed322c2de64a3d542b63cb5889f2103bfe5ea27
|
|
BLAKE2b-256 checksum How to use checksums |
cf1e3fc0c025dc74e5630439801753610c2cfa766915a8cc4ceec92a06cb9c6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for opentelemetry-instrumentor-dramatiq 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.