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.

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.14-cp39-cp39-manylinux2010_x86_64.whl (238.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

rust_python_jaeger_reporter-0.1.14-cp36-cp36m-manylinux2010_x86_64.whl (238.2 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.14-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.14-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c55237d2099591a3b003f44385fe329cfc98e5223c6d8cad7d5db1056b1717c5
MD5 b4d05dcbe880f7dcac3fca504ed9ee5d
BLAKE2b-256 6b77d7dccb5a84a3aac4de2c051786246b135de869b27917713c71fff502d189

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.14-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a44796290a986980169e853b5789c1790fbb027a1faeff42b8f33c2e8936cab3
MD5 e8c5565a1cf04500519c1082e4b84bc7
BLAKE2b-256 bad973065fd1363e046876374cd1c233b1ee73f77302ce0f50fa7862261995bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.14-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6f33471a838c3908f39d9ebb5cec812d1867152265a6cd68c7a09befe5500a53
MD5 e0948ced4388da1370600508d8280b3d
BLAKE2b-256 387fc739ad876032cec4b8c6163ed8b96ea578f80aecc28c99e2dda6cb312e59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.14-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 95702697a6cc89e8b873ef2c6fb66663b77aee6c096857868df43a70c9216fde
MD5 9c981eb90bf6362ac5fca5679cb0ceae
BLAKE2b-256 ac9238808785b4e6ebc7314f1dfc637a7438a2aa152424bc225916ea0a3863b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.14-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d46ed63068fc22af65661506d8bfa0b2ca080105e645a39722d2205aa538bdee
MD5 057a4ea448b13f0f6f049569e48d8194
BLAKE2b-256 e45ea00893a909227b9b08372ba79db6916e7bb541668fb9ee9a6d151f09dc7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.14-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 106ff308d1cf2bb88e0548d1c40beb78785e7faeaf864c9a0fb94a1339a32627
MD5 3760e12139d9245be6bdb6f172dc2e55
BLAKE2b-256 45a96cdf772b8a0e6bf8d643b68fd793c7dbc5ba9913920d5f7c9825455a8b7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.14-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2d84d54283a2e2d07bc6e29112664c1b105b09296074405a74c4e7c4d7bd6e7c
MD5 90519247e1b8aad23a9d9d58b9713218
BLAKE2b-256 af854eab318cdc859a89240bbbf7bf46a966c8fbaaa59abd615d5f08e065a534

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