A faster reporter for the python `jaeger-client` that reports spans in a native background thread.
Project description
Rust Jaeger Python Client
](https://pypi.org/project/rust-python-jaeger-reporter/) ](https://pypi.org/project/rust-python-jaeger-reporter/)
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for rust_python_jaeger_reporter-0.1.8-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44dfbc1c0b07929ae220ebdee8b385bdbc3354d73150cec03a00f4c8be1a88f6 |
|
MD5 | 6e074a3074e7497a5cd0c239c81b97df |
|
BLAKE2b-256 | 99f6d1e2c9136d8df0cc7eabd943652613982660821fe211d8dda3e89dd7a780 |
Close
Hashes for rust_python_jaeger_reporter-0.1.8-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6674fd90617cec5c4ff268152ed5b185c85c597ef284fac0466e22cbe1fd03ef |
|
MD5 | f30bf03c0d2694b7b916277c403ee819 |
|
BLAKE2b-256 | 5de8fe96aaff71b03e4fb6a1632284e884231a7ea72608d63e310d39f32dda68 |
Close
Hashes for rust_python_jaeger_reporter-0.1.8-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc44533aa4ec78bbc75d9b817a02c18b9caa53e774fec769b84bad2ee8756bb8 |
|
MD5 | e4b5e2805153e577d5623096106954c7 |
|
BLAKE2b-256 | d357217e31fc160643835dee1af2bc3b10fb4bed940c9a425368b0c5a4365b65 |
Close
Hashes for rust_python_jaeger_reporter-0.1.8-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 507acda716036a3c8534f9b185739b6a8bdb1f23ed720d5f14dfc4a7885e5adf |
|
MD5 | 87517a5944ba788e1aa4af91534a1f8c |
|
BLAKE2b-256 | fe70aafeb0c5112d36b329b5aded5c109fbca74e18bd89389428901bedb7a42d |