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
Close
Hashes for rust_python_jaeger_reporter-0.1.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0adbef783dad407aac901c586687349e4d0c6ff34c92d47d37f2b4d6a673a99 |
|
MD5 | 73ffbe6923a6a73c4b9b18145f8449d7 |
|
BLAKE2b-256 | b4fbfc79b83698308121797745e5bef4233537299d6747c4546c5734bc27c2ab |
Close
Hashes for rust_python_jaeger_reporter-0.1.22-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e51d56cc18cd09176ff113382b6df5461783a5a0494eb743ac19e92e22264fc |
|
MD5 | ea84de4ba1ac2c239e22b1df629755f0 |
|
BLAKE2b-256 | 9739b37e3f98763d6a51fbbd532f508fa3b1e95b9d0bff0b833b6d79a0ed4454 |
Close
Hashes for rust_python_jaeger_reporter-0.1.22-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a43ee80e1e783bb26293b9814f7d93de6caeb9d9adb1655bdf23d86997db6c8 |
|
MD5 | 55e55f30de5acca29f7c2aa51efedbbe |
|
BLAKE2b-256 | 3dc7c75fa55202e83efe138e1a2cfb929429bd91c42caf5c8dae51d8fc789d1e |
Close
Hashes for rust_python_jaeger_reporter-0.1.22-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d93318d589e14d1bb6a5722773d05d86e472701c59d0049828da7b79780992a |
|
MD5 | 2e0416937ed8aee73da13c6ee35bd0d3 |
|
BLAKE2b-256 | 016976660368ccc6d31b3a943f667852b1cf3286841e4e6385fda864ecb3720c |
Close
Hashes for rust_python_jaeger_reporter-0.1.22-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 766b96fd8682db90816740d7cd8025b3f72ee07adeed414b2cf024f6a3090d8a |
|
MD5 | 4dcb394b90f6f71c47c25986fbabc6a3 |
|
BLAKE2b-256 | 54031e47589160384897ae8f796025d51bf6d7937c912227e941e928eace79f4 |
Close
Hashes for rust_python_jaeger_reporter-0.1.22-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6931f7cc95b6e99024ae44060e3f108af66066befdcccc4190eef8e1d02c1e40 |
|
MD5 | e2f8c75ecaa77edb61d65ed806e53fdc |
|
BLAKE2b-256 | 80e6807addeb4eb49c3e1539bcdc59c308161a2cad2a3a77777a94d188de025c |
Close
Hashes for rust_python_jaeger_reporter-0.1.22-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15b36ff6bcecf9dc282fe23b2412237c61151b3cca1feb842e98fa0d0d027cf0 |
|
MD5 | eea117e6fe992379ca5488d493dece9b |
|
BLAKE2b-256 | 41511b406b9da9a97f890ee4dfd91920f7710c46a89dd890a1d7a52620a261c8 |