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.6b2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: opentelemetry-ext-lightstep-0.6b2.tar.gz
  • Upload date:
  • Size: 2.9 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.6b2.tar.gz
Algorithm Hash digest
SHA256 6800d24ce15fb42a03463fa45a72d1cc3c694219cb9242c6b9659b997bcc1e95
MD5 5340c70a0851a5d2a923f0e08996229e
BLAKE2b-256 fa541f1f1fc0c94ef92d8831cf8bd2f5f0cd281f5b739d5ffb0fd640753222e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opentelemetry_ext_lightstep-0.6b2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.6b2-py3-none-any.whl
Algorithm Hash digest
SHA256 b917bc45ce905f964fc9a35c7a93b178744340669671a8952cab55081c27c026
MD5 ec17cea8650a7b838ce4dbed73b3f3f7
BLAKE2b-256 0c28bba5eb73165b2624e4c1d50ca6aa49401d772c8356d2398b114323b50509

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