OpenCensus Zipkin Trace Exporter
Project description
Installation
pip install opencensus-ext-zipkin
Usage
The OpenCensus Zipkin Exporter allows you to export OpenCensus traces to Zipkin.
from opencensus.ext.zipkin.trace_exporter import ZipkinExporter
from opencensus.trace import tracer as tracer_module
tracer = tracer_module.Tracer(exporter=ZipkinExporter(
service_name='my service',
host_name='localhost',
port=9411,
))
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_zipkin-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d7e786939947e408b4c8e36aa9e239853eca151c3cf52f6766644dea15c370c |
|
MD5 | 1dff7224e5594174720f875c5075821e |
|
BLAKE2b-256 | 3f36a01c28b2d4ba6a30183d02127dd800d4b261686750f5718c1d141ae43bbd |