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
Release files for opencensus-ext-zipkin 0.2.2
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_zipkin-0.2.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / opencensus_ext_zipkin-0.2.2-py2.py3-none-any.whl
| Download URL | opencensus_ext_zipkin-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8d7e786939947e408b4c8e36aa9e239853eca151c3cf52f6766644dea15c370c
|
|
BLAKE2b-256 checksum How to use checksums |
3f36a01c28b2d4ba6a30183d02127dd800d4b261686750f5718c1d141ae43bbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
|