Rust Jaeger Python Client
A faster reporter for the python jaeger-client that reports spans in a native background thread.
This is relatively untested, so use at your own risk! (You may want to manually wrap this class in python so that calls to report_span cannot fail).
Usage:
from jaeger_client import Config
import opentracing
from rust_python_jaeger_reporter import Reporter
# The standard config for jaeger. No need to change anything here.
config = Config(
config={
'sampler': {
'type': 'const',
'param': 1,
},
},
service_name='your-app-name',
)
# Create the rust reporter.
reporter = Reporter(config={"agent_host_name": "127.0.0.1", "agent_port": 6831})
# Create the tracer and install it as the global tracer.
#
# *Note*: This invocation doesn't support throttling or the remote sampler.
tracer = config.create_tracer(reporter, config.sampler)
opentracing.set_global_tracer(tracer)
Building
Requires a nightly rust compiler, due to using the PyO3 library. Maturin can be used to develop, test and publish the library.
Publishing to PyPI
As per the maturin docs we use a docker image to build the binary wheels for the various python versions:
docker run -it --rm -v $(pwd):/io konstin2/maturin publish -f
Metadata
Release files for rust-python-jaeger-reporter 0.1.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rust_python_jaeger_reporter-0.1.23.tar.gz | 11.6 MB | Details |
Built distributions (wheels)
Total release size: 14.6 MB
Release files / rust_python_jaeger_reporter-0.1.23.tar.gz
| Download URL | rust_python_jaeger_reporter-0.1.23.tar.gz |
|---|---|
| Size | 11.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1847c224f8ecb5fa4297210fd6bfbf0ce015d9d1031e4e13a74789a1849773fe
|
|
BLAKE2b-256 checksum How to use checksums |
2ef26a0730bec24602f94f91bd1ce784a2b47b1e91cf392c1122036a7c804982
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 300.0 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.10 PyPy 3.10 7.3 |
|
SHA-256 checksum How to use checksums |
f858823eb2dce8ab8ddaa38808406fc0395b459eb35fadda64237b252e94c2d0
|
|
BLAKE2b-256 checksum How to use checksums |
cc74ff89929414271746bd2c718e1079cee61a255ab1eb04eedba804932a566c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 300.9 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
1af6cfa4fac416d658b81c42d7cd4bf0d40a85f4a4ee9a7155ebafaf25ef8cb8
|
|
BLAKE2b-256 checksum How to use checksums |
d8646fb742e361b4f60e35520d881b4fdec1815c9ceaeaecb284e01ebf6b3088
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 300.5 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.8 PyPy 3.8 7.3 |
|
SHA-256 checksum How to use checksums |
cb8806c404361e17a7c62c7e376d1b1c0f458c04ab2e636f44a9be65b48d346e
|
|
BLAKE2b-256 checksum How to use checksums |
003a86354ccb2b7e7de8a1296003e44773eb6ab266309e40dcf43ed224211248
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 303.0 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
2a730b81a99182935e7f0bae9ac244add4aec113ed9ff7df50aa199bb90aac78
|
|
BLAKE2b-256 checksum How to use checksums |
aec802010de4b857d333194dacf46d19779d264ff3f5dfb730c2e56500502e69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 300.4 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fe20599c088371eede809580a6ce4f776891e9a81a2d274efb6adf82da4a0782
|
|
BLAKE2b-256 checksum How to use checksums |
bbe5793925b04d4fa5c11a9e197e85c06a9080d9dfabf1809de2fb85034c4bdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 300.5 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e0e1ebab0ae000483c12c9ced7e8ea7fe162c3477d3d5dcf632d01df18355b48
|
|
BLAKE2b-256 checksum How to use checksums |
227680f1a65b550e962100d209d6300657e811b2302bebadde286f946c1901c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 300.5 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
97b732707ce662233e10841f7b8ba575a40fbcf9c2bf3b0aecab80a5b20c293c
|
|
BLAKE2b-256 checksum How to use checksums |
4d9b7f0452f754093626802936c58aad103213042df4a088b5c59084eeea441b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 301.1 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d979afbf59d970decd15b42a9a728b7d0faba40b037dc7f2d26110682b1ac51e
|
|
BLAKE2b-256 checksum How to use checksums |
6e02a807f486e5bff205d94dd688ff136cc4334e155afdf98c5b9717969cc055
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 300.1 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8181c2df3fb44f38dfe8a79adf92ff30f968843d7916b9cad731631d6485dcc9
|
|
BLAKE2b-256 checksum How to use checksums |
3e3a383c17cbf8ca0bfe48ef8ac2f37bc5e8ab53c358cfcde25dc2d5dcc0fb41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rust_python_jaeger_reporter-0.1.23-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rust_python_jaeger_reporter-0.1.23-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 300.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
43b92ea74a3ece3cc3fc7e106fcd82713a90eb0d582218d6a0cc8fdea52e7d0d
|
|
BLAKE2b-256 checksum How to use checksums |
4384b80c9745b277a1404d7691d10b9783aa9ea0a2ed1a9eaa91e9341a30eaea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|