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.
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()
# 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)
Limitations
The reporter is not configurable and is hardcoded to report to the local agent on localhost and the default port.
Building
Requires a nightly rust compiler, due to using the PyO3 library. Maturin can be used to develop, test and publish the library.
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 Distributions
Built Distributions
File details
Details for the file rust_python_jaeger_reporter-0.1.11-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.11-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 228.2 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.8.2-alpha.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e58af058be83847e82d3a97ac3bbcd8a64c5023ebe034201e0a1754fdfd91b4 |
|
MD5 | 44c5b2b71e78c6d4b84a395ef471de50 |
|
BLAKE2b-256 | 0b016a0226cdf4a8fd2cf61d7bdf441ee77e84d86f7f4461e8ee4a28797a221f |
File details
Details for the file rust_python_jaeger_reporter-0.1.11-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.11-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 228.2 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.8.2-alpha.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d6653debd74fc7dc7fde5231e4bf64d7a42272075a77579507604ede9ad464 |
|
MD5 | 12892e9ca629f0073e5687cb6d903645 |
|
BLAKE2b-256 | ab9a862cc62e67c6e96708a6bcbbad8e35048e6d2b97944ba0ae8aa6f479e415 |
File details
Details for the file rust_python_jaeger_reporter-0.1.11-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.11-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 228.4 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.8.2-alpha.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc61be6873a74494711e631617f4df08db1fa0ae634f91f95ff92145f8c17b8a |
|
MD5 | 6c353ad6ac29fe10f89fc1f4a0093820 |
|
BLAKE2b-256 | f4b0fe128672245c72559d5eb3848a76f21fbd9ed2a7ade500e64cc200c565f5 |
File details
Details for the file rust_python_jaeger_reporter-0.1.11-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: rust_python_jaeger_reporter-0.1.11-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 228.4 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.8.2-alpha.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3ddcd9194f3ab00ea17f42e709834ce482a5c7121e6141e98dab122acb661a8 |
|
MD5 | 0b7ec995256b7ae443a1bb9cf7a9b45a |
|
BLAKE2b-256 | b4a0b9343c6c1b56dd789c48b1ceae178ebc51798dd90ec759374942a7480bb1 |