Skip to main content

LightStep Exporter for OpenTelemetry

Project description

build status PyPI version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opentelemetry-ext-lightstep-0.6b3.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file opentelemetry-ext-lightstep-0.6b3.tar.gz.

File metadata

  • Download URL: opentelemetry-ext-lightstep-0.6b3.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for opentelemetry-ext-lightstep-0.6b3.tar.gz
Algorithm Hash digest
SHA256 478d4ef31daa6be00a6e0ad101f6f68f4776ca8ac97d68ff46252c019175c868
MD5 2a0310ff97c3692e01e2f9ecac52e001
BLAKE2b-256 0447d7febc61f3a283667a6e21193c35db76be1c22e2344f6924a188ebaba5ac

See more details on using hashes here.

File details

Details for the file opentelemetry_ext_lightstep-0.6b3-py3-none-any.whl.

File metadata

  • Download URL: opentelemetry_ext_lightstep-0.6b3-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for opentelemetry_ext_lightstep-0.6b3-py3-none-any.whl
Algorithm Hash digest
SHA256 d16d6ac3a02dae40fe12797aeefb4d6461770a5dec3d77d473a1ede73bbbb30b
MD5 5df995fa11e519eeb28c158b2add0b58
BLAKE2b-256 706c7ad6e6a9ea42afac84b7821595c30278a5f40667c4ad033e775720d6a54e

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