Skip to main content

OpenCensus Jaeger Trace Exporter

Project description

pypi

Installation

pip install opencensus-ext-jaeger

Usage

The OpenCensus Jaeger Exporter allows you to export OpenCensus traces to Jaeger.

from opencensus.ext.jaeger.trace_exporter import JaegerExporter
from opencensus.trace import tracer as tracer_module

tracer = tracer_module.Tracer(exporter=JaegerExporter(
    service_name='my service',
    agent_host_name='localhost',
    agent_port=6831,
))

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_jaeger-0.2.2-py2.py3-none-any.whl (14.0 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