Skip to main content

Jaeger Python OpenTracing Tracer implementation

Project description

[![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov] [![PyPI version][pypi-img]][pypi]

# Jaeger Bindings for Python OpenTracing API

This is a client-side library that can be used to instrument Python apps
for distributed trace collection, and to send those traces to Jaeger.
See the [OpenTracing Python API](
for additional detail.

## Installation

apt-get install python-dev
pip install jaeger-client

## Getting Started

(under construction)

If your python code is already instrumented for OpenTracing,
you can simply switch to Jaeger's implementation with:

from jaeger_client import Config, initializer

if __name__ == "__main__":
config = Config(config={}, # usually read from some yaml config

with opentracing.tracer.start_span('TestSpan') as span:
span.log_event('test message', payload={'life': 42})

opentracing.tracer.close() # flush any buffered spans

## Configuration

(under construction)

See [Config class](jaeger_client/

## License

[The MIT License](LICENSE).


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jaeger-client, version 2.1.0
Filename, size File type Python version Upload date Hashes
Filename, size jaeger-client-2.1.0.tar.gz (44.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page