LightStep Exporter for OpenTelemetry
Project description
Lightstep OpenTelemetry Python Exporter
This is the Lightstep exporter for OpenTelemetry
Install
pip install opentelemetry-ext-lightstep
Configure
from opentelemetry import trace
from opentelemetry.ext.lightstep import LightStepSpanExporter
from opentelemetry.sdk.trace.export import BatchExportSpanProcessor
exporter = LightstepSpanExporter(
name="test-service",
token=<PROJECT_ACCESS_TOKEN>,
host=<SATELLITE_URL>,
port=<SATELLITE_PORT>,
service_version="1.2.3",
)
span_processor = BatchExportSpanProcessor(exporter)
trace.get_tracer_provider().add_span_processor(span_processor)
Examples
See the examples directory.
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 Distribution
Built Distribution
Close
Hashes for opentelemetry-ext-lightstep-0.6b3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 478d4ef31daa6be00a6e0ad101f6f68f4776ca8ac97d68ff46252c019175c868 |
|
MD5 | 2a0310ff97c3692e01e2f9ecac52e001 |
|
BLAKE2b-256 | 0447d7febc61f3a283667a6e21193c35db76be1c22e2344f6924a188ebaba5ac |
Close
Hashes for opentelemetry_ext_lightstep-0.6b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d16d6ac3a02dae40fe12797aeefb4d6461770a5dec3d77d473a1ede73bbbb30b |
|
MD5 | 5df995fa11e519eeb28c158b2add0b58 |
|
BLAKE2b-256 | 706c7ad6e6a9ea42afac84b7821595c30278a5f40667c4ad033e775720d6a54e |