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.7b0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file opentelemetry-ext-lightstep-0.7b0.tar.gz.

File metadata

  • Download URL: opentelemetry-ext-lightstep-0.7b0.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.46.0 CPython/3.8.2

File hashes

Hashes for opentelemetry-ext-lightstep-0.7b0.tar.gz
Algorithm Hash digest
SHA256 beb6f31754d653cbe015128971f19129857809f20897771230025c058972b061
MD5 b8ea3a5baa010e4b0d6ac3d63c1c9e44
BLAKE2b-256 baea27ffbdf4fe41f4cef0d1bd2c7cc636bd11a23e790ecee89a96da79023adc

See more details on using hashes here.

File details

Details for the file opentelemetry_ext_lightstep-0.7b0-py3-none-any.whl.

File metadata

  • Download URL: opentelemetry_ext_lightstep-0.7b0-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.46.0 CPython/3.8.2

File hashes

Hashes for opentelemetry_ext_lightstep-0.7b0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d115dfd37d625ee43e5c91943c044f9909b44cbb0a42fbcc0713a99114f6c6e
MD5 7a7fbbddfa6b876c21c8c424cbc58684
BLAKE2b-256 46aec98aaa83930987d4ecb4fb72d3a3aa491bda352f88f230fd4146ebae812f

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