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!')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for opencensus-ext-zipkin, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size opencensus_ext_zipkin-0.2.2-py2.py3-none-any.whl (5.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page