OpenCensus Jaeger Trace Exporter
Project description
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
File details
Details for the file opencensus_ext_jaeger-0.7.1-py2.py3-none-any.whl
.
File metadata
- Download URL: opencensus_ext_jaeger-0.7.1-py2.py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d67b5dbfad06580c2b2038b190c2a6f7b5764507d70906e296fcff43b4364f4d |
|
MD5 | 8769912417d171b3be5bdcfa921ae274 |
|
BLAKE2b-256 | bbdcf9d6d8eb92d40c3416c23fd77ace4059643ca1476b190ac2df4fb33b2521 |