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.

This is relatively untested, so use at your own risk! (You may want to manually wrap this class in python so that calls to report_span cannot fail).

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.

Publishing to PyPI

As per the maturin docs we use a docker image to build the binary wheels for the various python versions:

docker run -it --rm -v $(pwd):/io konstin2/maturin publish

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

rust_python_jaeger_reporter-0.1.15-cp39-cp39-manylinux2010_x86_64.whl (260.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

rust_python_jaeger_reporter-0.1.15-cp38-cp38-manylinux_2_24_x86_64.whl (248.3 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

rust_python_jaeger_reporter-0.1.15-cp38-cp38-manylinux2010_x86_64.whl (260.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

rust_python_jaeger_reporter-0.1.15-cp37-cp37m-manylinux2010_x86_64.whl (260.7 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

rust_python_jaeger_reporter-0.1.15-cp36-cp36m-manylinux2010_x86_64.whl (260.5 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

File details

Details for the file rust_python_jaeger_reporter-0.1.15-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.15-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a1ee5fa27f78237238a977354664c6bb488fb5170e78bfdacea783f2273051b4
MD5 8eb4b5155d536344ded7d0eef25fd457
BLAKE2b-256 7b8598204f2e68f2aeb2713efd21c77e88a9c3fa5d1a6d6ae3999e26bf8a3ba3

See more details on using hashes here.

File details

Details for the file rust_python_jaeger_reporter-0.1.15-cp39-cp39-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.15-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7eba34052176ddaf1ef51c317145d463632395e39dc062ba41631329edcb4a60
MD5 c00b1f043e4d0d9e71d041ca77f8f289
BLAKE2b-256 0278b7320a4b2a049f8703fd23201518edcd2210409807d886149e95566569d3

See more details on using hashes here.

File details

Details for the file rust_python_jaeger_reporter-0.1.15-cp38-cp38-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.15-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 64e3b6585f4ccc31678b8f3d76c9288b02b3b3162f667577f7a58b61a50546b8
MD5 91cba33953441cb8aa9cc0e2faba18fb
BLAKE2b-256 f1218647af88b693ba572a2ea7f78456994eaf8b285dc6c2bf0253d22d9549be

See more details on using hashes here.

File details

Details for the file rust_python_jaeger_reporter-0.1.15-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.15-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a2ca9a3f453ec7c663b1d13052eadf9e5352f36f5c6c3e807bb7efe001a2a1ed
MD5 537633004fe5ff4cfa875a08a38542ba
BLAKE2b-256 8741cad393d72df199534c1fb5bca4c74d5523e861a52549e480390e8921ab75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.15-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f190c9df26e690e9ffacbc8e9d291a27854cbe2205e51447a6a1fd2421c0a6e8
MD5 db6c93e3d511d1ce0dc23d988973d037
BLAKE2b-256 695c1b0c61349f8a842f29b4e9e0d9a4f35d117e919737680305ccc06238d8a1

See more details on using hashes here.

File details

Details for the file rust_python_jaeger_reporter-0.1.15-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.15-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 698d01d774e05bdbf9169b002a0f0f85453050b154e854e78e60859389afafc6
MD5 70c9e23599ebf1aa7c471d32f8917029
BLAKE2b-256 92182717869f6dd8d17849f5cc07e6df9a2967a4ea700a3329340c04b1650a0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.15-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 84d705419e476d90dfdea0bff6775c6f51ada01cab016b126e5ff5166be8b137
MD5 6c9bc78463d2d1bfc187d8780ad454cf
BLAKE2b-256 5670ecfdedf9c04594c8d27efbf82a2c0b669725fcb7b4fc01c61b5504a46de8

See more details on using hashes here.

File details

Details for the file rust_python_jaeger_reporter-0.1.15-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.15-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 eaf97c0d4026397781175713dd1856a8ff152f752c8c34a1f8994ae17267accf
MD5 374899a1fdf5d0a741a5a7d2dc88141d
BLAKE2b-256 f1557c469898f731fbc2d3edf9779271836dd16a929eadb90e871392c7e0adfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.15-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c236ad5f08949c33a182afca2d3ca5e5097d0870be1a9a04edad7bbc75c27e58
MD5 d74b52aa889bc64a9ec99dc276a42b70
BLAKE2b-256 654ad840e777cce8f89438f20164c4faebbf956d199659d037e439bf0ef095e1

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