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

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-jaeger, version 0.7.1
Filename, size File type Python version Upload date Hashes
Filename, size opencensus_ext_jaeger-0.7.1-py2.py3-none-any.whl (14.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page