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 details)

Uploaded Python 2 Python 3

File details

Details for the file opencensus_ext_zipkin-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: opencensus_ext_zipkin-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for opencensus_ext_zipkin-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8d7e786939947e408b4c8e36aa9e239853eca151c3cf52f6766644dea15c370c
MD5 1dff7224e5594174720f875c5075821e
BLAKE2b-256 3f36a01c28b2d4ba6a30183d02127dd800d4b261686750f5718c1d141ae43bbd

See more details on using hashes here.

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