Skip to main content

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


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

opencensus_ext_soha_otel-1.0.6.8-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file opencensus_ext_soha_otel-1.0.6.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for opencensus_ext_soha_otel-1.0.6.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 36e7db7d59621a34a049074a1e2d39c2088293b9d393d52f72c8f17633f57ae0
MD5 e0e4f36b6c7aad2693c6d43d28294ff1
BLAKE2b-256 64f701b42aeec464330853068ebd0f7662ae592cbfec331f459e170c4e530d24

See more details on using hashes here.

Supported by

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