OpenCensus Jaeger Trace Exporter
Project description
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
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 Distribution
Close
Hashes for opencensus_ext_jaeger-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5d449aac734abf3f295605751af294b3c60cab4294026912693ff3ae2506d49 |
|
MD5 | 29993a73c75cee7c3175642f48b792e4 |
|
BLAKE2b-256 | 0e9de3c29259df7ef8079f92be90b5ac8ecb8ff638774fe8a1cd70b553e1d114 |