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.9-cp38-cp38-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.9-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 461ae72d8725921a4749ed4790094c88dba87dae417de28d957b7e48d6f6003e
MD5 37751bb98685d7c54fe384333154b927
BLAKE2b-256 cbd87d9388841481264f1ad4c6935ae7069b974faadcec6b035f8dd0d1750c36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.9-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ba54ed78f093b79b17f1a405f594b28cba1c9750abedd5aae7b37424029d17dd
MD5 a58a9332931590ba7895db39ba31bb91
BLAKE2b-256 3756a59502233166df62a7e2ca989d1248e6a938d01b97743f3a387aa0215838

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.9-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a261879315cd5d73b902f89c0904d8aaacf71a4d9f4d7b06818bb8814867408c
MD5 ba9eb45f34c90832177df1e0990faba2
BLAKE2b-256 5ec306ade363bdc6fb61de299e7193b48c6d34a91365cfa4906f0462a687f138

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.9-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2f1ee45c3d8d83dd7ecd06eb764b892c47fc2c61b9092d85656e9ed42d2ec1dc
MD5 71cb39ece046475fcd4af03e88eb33d3
BLAKE2b-256 bf992ca2abb6040377fe7fb6ca940389278fabb919f9b2488062dd8ccd09e145

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