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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.13-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0e103477f55d8504d3a675a744c1b790c2f71a654fd5ff83b7b86f1765740ff3
MD5 397c6f12b6571fa6e8105785d5b380e1
BLAKE2b-256 d516def2193ba1c7365c00c004fddb3cb8219126d4044d80d4ad95a906cd4cf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.13-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 eefa36083df6506343336250c1e63acabccc4c64e663ddf189f1fb70db7fe83a
MD5 c4353bbc28b2f60423a66eded071d744
BLAKE2b-256 f6defe5e11a826c78c98a5151b3fe84db9b97acda67ed9cad63f0b9ecaeb37bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.13-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5180357533c67b85f915407d260968edbdc54deb1dfbd1d05760ecaa0d4761de
MD5 fc87272bd8e463bbba77c4dcc206df99
BLAKE2b-256 77097e5700ff97d74ecbf20648459efa2c439e113a96e30937b6b4e6bfedaeee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.13-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cd0e55c5ea751a86afa046afb70566094b434223901ea5f8388c6feb0bee2798
MD5 9c385791df87aedf1e6ec3e1b3195b94
BLAKE2b-256 2212a5dde518fed07c9da381f8a074847d295dc343f89e7e0948713cc03a9e22

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