Installation
pip install opencensus-ext-jaeger
Usage
The OpenCensus Jaeger Exporter allows you to export OpenCensus traces to Jaeger.
from opencensus.ext.jaeger.trace_exporter import JaegerExporter
from opencensus.trace import tracer as tracer_module
tracer = tracer_module.Tracer(exporter=JaegerExporter(
service_name='my service',
agent_host_name='localhost',
agent_port=6831,
))
with tracer.span(name='hello'):
print('Hello, World!')
References
Release files for opencensus-ext-jaeger 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opencensus_ext_jaeger-0.7.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / opencensus_ext_jaeger-0.7.1-py2.py3-none-any.whl
| Download URL | opencensus_ext_jaeger-0.7.1-py2.py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d67b5dbfad06580c2b2038b190c2a6f7b5764507d70906e296fcff43b4364f4d
|
|
BLAKE2b-256 checksum How to use checksums |
bbdcf9d6d8eb92d40c3416c23fd77ace4059643ca1476b190ac2df4fb33b2521
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.0
|