A faster reporter for the python `jaeger-client` that reports spans in a native background thread.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file rust_python_jaeger_reporter-0.1.23.tar.gz
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23.tar.gz
- Upload date:
- Size: 11.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1847c224f8ecb5fa4297210fd6bfbf0ce015d9d1031e4e13a74789a1849773fe |
|
MD5 | 0368314b61c0957aa27e868aebd1db55 |
|
BLAKE2b-256 | 2ef26a0730bec24602f94f91bd1ce784a2b47b1e91cf392c1122036a7c804982 |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 300.0 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f858823eb2dce8ab8ddaa38808406fc0395b459eb35fadda64237b252e94c2d0 |
|
MD5 | 860469a21629ee401d2cc1da087e1389 |
|
BLAKE2b-256 | cc74ff89929414271746bd2c718e1079cee61a255ab1eb04eedba804932a566c |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 300.9 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1af6cfa4fac416d658b81c42d7cd4bf0d40a85f4a4ee9a7155ebafaf25ef8cb8 |
|
MD5 | 2899086a772433e10ef9cc38603c11e3 |
|
BLAKE2b-256 | d8646fb742e361b4f60e35520d881b4fdec1815c9ceaeaecb284e01ebf6b3088 |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 300.5 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb8806c404361e17a7c62c7e376d1b1c0f458c04ab2e636f44a9be65b48d346e |
|
MD5 | b29913fec425da211f16fe96aee7e915 |
|
BLAKE2b-256 | 003a86354ccb2b7e7de8a1296003e44773eb6ab266309e40dcf43ed224211248 |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 303.0 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a730b81a99182935e7f0bae9ac244add4aec113ed9ff7df50aa199bb90aac78 |
|
MD5 | 72bf7cb7c307f9f1ac039243e36023c4 |
|
BLAKE2b-256 | aec802010de4b857d333194dacf46d19779d264ff3f5dfb730c2e56500502e69 |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 300.4 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe20599c088371eede809580a6ce4f776891e9a81a2d274efb6adf82da4a0782 |
|
MD5 | 1eaf7319afa1b88718f4fa77ae70ed31 |
|
BLAKE2b-256 | bbe5793925b04d4fa5c11a9e197e85c06a9080d9dfabf1809de2fb85034c4bdf |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 300.5 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0e1ebab0ae000483c12c9ced7e8ea7fe162c3477d3d5dcf632d01df18355b48 |
|
MD5 | be0ba97f6b1e06404b4c61af94f3f93d |
|
BLAKE2b-256 | 227680f1a65b550e962100d209d6300657e811b2302bebadde286f946c1901c5 |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 300.5 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97b732707ce662233e10841f7b8ba575a40fbcf9c2bf3b0aecab80a5b20c293c |
|
MD5 | cf19ce50910c08b5415f269d156c9172 |
|
BLAKE2b-256 | 4d9b7f0452f754093626802936c58aad103213042df4a088b5c59084eeea441b |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 301.1 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d979afbf59d970decd15b42a9a728b7d0faba40b037dc7f2d26110682b1ac51e |
|
MD5 | 34ebcb1bdeb2d6f20193de36f3fd107c |
|
BLAKE2b-256 | 6e02a807f486e5bff205d94dd688ff136cc4334e155afdf98c5b9717969cc055 |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 300.1 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8181c2df3fb44f38dfe8a79adf92ff30f968843d7916b9cad731631d6485dcc9 |
|
MD5 | 8b0a53e19224726662550a1bac82b128 |
|
BLAKE2b-256 | 3e3a383c17cbf8ca0bfe48ef8ac2f37bc5e8ab53c358cfcde25dc2d5dcc0fb41 |
File details
Details for the file rust_python_jaeger_reporter-0.1.23-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.23-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 300.8 kB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43b92ea74a3ece3cc3fc7e106fcd82713a90eb0d582218d6a0cc8fdea52e7d0d |
|
MD5 | 129354d0a0699135900564c90f45bf64 |
|
BLAKE2b-256 | 4384b80c9745b277a1404d7691d10b9783aa9ea0a2ed1a9eaa91e9341a30eaea |