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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: opentelemetry-ext-lightstep-0.9b0.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.1 CPython/3.8.3

File hashes

Hashes for opentelemetry-ext-lightstep-0.9b0.tar.gz
Algorithm Hash digest
SHA256 4f5f517a24d017a1cebdf31efba1c6383af8f2d60b07c0493a91846656b7188e
MD5 2540e9d5587f83aba889f59893f82f0f
BLAKE2b-256 ebdc80caf22660a7d16636cf672bd2a9f68fad7220fed1803ef480e4eeeda5c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opentelemetry_ext_lightstep-0.9b0-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.1 CPython/3.8.3

File hashes

Hashes for opentelemetry_ext_lightstep-0.9b0-py3-none-any.whl
Algorithm Hash digest
SHA256 98b88f50545ddc7964b42015363d181c277b7a2c3fcb0b545ca157e221ce66c6
MD5 3aee5f859d979acc7abb237c45405b0d
BLAKE2b-256 741b00df57596eedef3e6d43b7a1baad9da8db70264e10305ef625a835e0fc22

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