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
Metadata
Release files for opencensus-ext-soha-otel 1.0.6.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opencensus_ext_soha_otel-1.0.6.8-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / opencensus_ext_soha_otel-1.0.6.8-py2.py3-none-any.whl
| Download URL | opencensus_ext_soha_otel-1.0.6.8-py2.py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
36e7db7d59621a34a049074a1e2d39c2088293b9d393d52f72c8f17633f57ae0
|
|
BLAKE2b-256 checksum How to use checksums |
64f701b42aeec464330853068ebd0f7662ae592cbfec331f459e170c4e530d24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|