Skip to main content

OpenCensus Zipkin Trace Exporter

Project description

pypi

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

opencensus_ext_zipkin-0.2.2-py2.py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page