OpenCensus Cyber Trace Exporter
Project description
Installation
pip install -i https://test.pypi.org/simple/ opencensus-ext-soha-otel
Usage
The OpenCensus Soha Otel Exporter allows you to export OpenCensus traces to CyberTrace.
from sohaotel.ext.otel.trace_exporter import SohaOtelHttpExporter
from opencensus.trace import tracer as tracer_module
tracer = tracer_module.Tracer(exporter=SohaOtelHttpExporter(
service_name='my service',
retry_able: True,
))
with tracer.span(name='hello'):
print('Hello, World!')
References
Project details
Release history Release notifications | RSS feed
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_soha_otel-1.0.6.8-py2.py3-none-any.whl
.
File metadata
- Download URL: opencensus_ext_soha_otel-1.0.6.8-py2.py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e7db7d59621a34a049074a1e2d39c2088293b9d393d52f72c8f17633f57ae0 |
|
MD5 | e0e4f36b6c7aad2693c6d43d28294ff1 |
|
BLAKE2b-256 | 64f701b42aeec464330853068ebd0f7662ae592cbfec331f459e170c4e530d24 |