Lightstep Observability supports OpenTelemetry to get telemetry data (traces, logs, and metrics) from your app as requests travel through its many services and other infrastructure.

If you’ve never instrumented for observability, read Understand Distributed Tracing for some background knowledge.

Lightstep provides Launchers that install OpenTelemetry and capture telemetry from popular libraries and frameworks already installed in your system, with only one line of code needed.

Using a different language? You can still get started quickly.

Install instrumentation

Start by installing the OpenTelemetry SDKs for your language.

In Java, Javascript, and Python, OpenTelemetry has built-in instrumentation for popular libraries, so that you can get tracing data without needing to add any tracing code.

Start tabs

Java

1
2
3
# Replace with the latest Java non-launcher version.
# Install an agent? 
# Any libraries that need to be imported?

Node.js

1
2
3
// Replace with the latest JavaScript non-launcher version
// Install an agent? 
// Any libraries that need to be imported?

Python

1
2
3
# Replace with the latest Python non-launcher version
# Install an agent? 
# Any libraries that need to be imported?

Go

1
2
3
4
5
6
7
8
9
10
// In a shell, install the following OpenTelemetry packages:
go get go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp \
	go.opentelemetry.io/otel \
	go.opentelemetry.io/otel/attribute \
	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp \
	go.opentelemetry.io/otel/propagation \
	go.opentelemetry.io/otel/sdk/resource \
	go.opentelemetry.io/otel/sdk/trace \
	go.opentelemetry.io/otel/semconv/v1.10.0 \
	go.opentelemetry.io/otel/trace \

End code tabs


What did we learn?

  • Lightstep has Launchers for OpenTelemetry that let you instrument your service with a single line of code.