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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.10-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4e26933d5bd241dda008cbfe9cbae837f558014130af478920181e7cd0e0b390
MD5 06fbd0c18b0b0c87f353e33132cebadf
BLAKE2b-256 d8e9a4feb491f581e8fc09329f4738d260f58f0d0ce1de0973e9dad340ee6a28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.10-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a6a9ca7c50394e5648da205c4b472cf083c7e8a18c060a896defccd740e83fe7
MD5 1d4fbb1148a9ea9a77f11330e963b2e3
BLAKE2b-256 cb6834d8b1351a88a9390320bd6ed52d252eceb4213f274aa1190907969eecbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.10-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1e9ac5647e4fffb752929e594c16238e80a2c86b104eb589cf9d79f4c3520686
MD5 5ee122104b9b6e7949c1117100736d7f
BLAKE2b-256 3555d591beccb242d9ba57b5a493a2d2462e77b7b94b0cdd41960222364d8ea7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rust_python_jaeger_reporter-0.1.10-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 626598a73292fc0ba525ba84fc4fd3f120eb4d769784f9705b24b4e12da61246
MD5 e0938fd9c653877d3a507a63f32dda30
BLAKE2b-256 d042f53ec9515a4373666a7c591cf598c84d3032af14899228e500575802a80e

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