Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

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

Supported by

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