Observability & OpenTelemetry
OpenTelemetry SDK
The OpenTelemetry API is safe to call without an SDK, but without SDK setup nothing is exported. The SDK turns the calls into real telemetry, and it must be registered at start-up.
What you will be able to do
- Explain the split between the OpenTelemetry API and the SDK.
- Verify that a running service exports spans after a deploy.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Observability & OpenTelemetry
- Alertmanager routingIntermediate · 4 min
Alertmanager routes each alert through a tree of matchers, so the order of routes and the continue flag decide who gets paged. Testing label sets before a change…
- Grafana dashboardsAdvanced · 4 min
A Grafana dashboard reads data through panels, variables and time ranges, and each of those can change what a panel shows. Checking them first saves time during an…
- Trace context propagationAdvanced · 4 min
A trace stays whole across services only when each hop passes the traceparent header along. The W3C format gives the header four fields, and a dropped header starts a…
- OTLP collectorsAdvanced · 4 min
The OpenTelemetry Collector receives, processes and exports telemetry between services and backends. It gives one place to change routing, filters and keys without…
- Tail samplingAdvanced · 4 min
Tail sampling decides after a trace is complete, so it can keep errors and slow traces. The price is memory, and every span of one trace must reach the same sampler.
- Span attributesAdvanced · 4 min
Span attributes describe each operation and are stored and sent to every backend. Keep their values from a fixed set, and keep personal data out, to protect privacy and…