Skip to main content

A faster reporter for the python `jaeger-client` that reports spans in a native background thread.

Project description

Rust Jaeger Python Client

PyPI PyPI - Format

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


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

File details

Details for the file rust_python_jaeger_reporter-0.1.12-cp38-cp38-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.12-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 93ecab7ceccdf0bc011ca944cbcf1242b7613d4bc971c3efea571780e60d6406
MD5 7628dc023f9de119e65d08d012235ba9
BLAKE2b-256 f20d10f509aab34b9745c130ab94c711e8ce6a7489cfcd987fc96be6ff01c457

See more details on using hashes here.

File details

Details for the file rust_python_jaeger_reporter-0.1.12-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.12-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0bb1b61a0909538a902b643713bd079a0b0b4a4cad96d3ae1371c8285cbd94bc
MD5 0baf9518da5690cf41f8b2dcda69fa10
BLAKE2b-256 dd2343762fa1a5812772d5629e1a26722e6ee6ed273ef8dc60e7b43749120da7

See more details on using hashes here.

File details

Details for the file rust_python_jaeger_reporter-0.1.12-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.12-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 929b131c0138d56aee7887ffc528034dee0ade85813c7b88a7b1e66175706896
MD5 905b2b2c62c0a5ecebf4fdc5bd304eec
BLAKE2b-256 744302cf0877dfad41f2fcbef80df3ef4a41cd863fd4e396bacffd3fa3902cc6

See more details on using hashes here.

File details

Details for the file rust_python_jaeger_reporter-0.1.12-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.12-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9da748a867e6ec71931a8757ac1f97bfa063a9ebf869d8ae0c5d6166d018b636
MD5 565d88a0c496f25e1b978fef6b1cf6b1
BLAKE2b-256 4616bce112931886ef6d3dba304c0b30f6f4585f59b7eba7652540b130e5e31a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page