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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.11-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3e58af058be83847e82d3a97ac3bbcd8a64c5023ebe034201e0a1754fdfd91b4
MD5 44c5b2b71e78c6d4b84a395ef471de50
BLAKE2b-256 0b016a0226cdf4a8fd2cf61d7bdf441ee77e84d86f7f4461e8ee4a28797a221f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.11-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c3d6653debd74fc7dc7fde5231e4bf64d7a42272075a77579507604ede9ad464
MD5 12892e9ca629f0073e5687cb6d903645
BLAKE2b-256 ab9a862cc62e67c6e96708a6bcbbad8e35048e6d2b97944ba0ae8aa6f479e415

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.11-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fc61be6873a74494711e631617f4df08db1fa0ae634f91f95ff92145f8c17b8a
MD5 6c353ad6ac29fe10f89fc1f4a0093820
BLAKE2b-256 f4b0fe128672245c72559d5eb3848a76f21fbd9ed2a7ade500e64cc200c565f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.11-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c3ddcd9194f3ab00ea17f42e709834ce482a5c7121e6141e98dab122acb661a8
MD5 0b7ec995256b7ae443a1bb9cf7a9b45a
BLAKE2b-256 b4a0b9343c6c1b56dd789c48b1ceae178ebc51798dd90ec759374942a7480bb1

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