The whole tutorial, in order.
Every part and chapter, linked. Read it top to bottom the first time through; each chapter also stands on its own. New here? Start with the Outline.
Part 0 Foundations
What observability is for, how OpenTelemetry is put together, the Grafana LGTM stack, and getting the tooling in place before any code is instrumented.
- 1 Why observability Monitoring answers the questions you planned for; observability answers the ones you didn't, and why that distinction is worth a new vocabulary.
- 2 OpenTelemetry architecture API versus SDK versus instrumentation, Resource and Context and Propagation, and the Collector's role between a process and its backend.
- 3 The LGTM stack Loki, Grafana, Tempo, and Mimir, plus Pyroscope and the embedded OTel Collector: what each store holds, the all-in-one image, and the ports every later chapter uses.
- 4 Prerequisites and setup SDKMAN and uv toolchains for Spring Boot, Quarkus, and Python, bringing up the shared LGTM stack with podman compose, and the devcontainer/Testcontainers path for day-to-day development.
Part 1 The demo application
A small e-commerce domain, the shared infrastructure it runs on, and a bare service skeleton in Spring Boot, Quarkus, and Python before any signal is added.
- 5 The e-commerce domain The order, inventory, payment, shipping, notification, and review services this tutorial instruments, and how a single order request moves through them.
- 6 The shared infrastructure The one compose.yaml all three language tracks build on: service-name DNS, healthchecks, the x-service-env anchor, and per-language profiles.
- 7 Service skeletons The order, inventory, payment, review, shipping, and notification services running with telemetry off: REST, gRPC, GraphQL, and Kafka in their plainest form, before Part 3 turns the signals on.
Part 2 The signals
Traces, metrics, logs, baggage, context propagation across Kafka, profiling, and the semantic conventions that keep them all readable: one signal per chapter, three stacks each.
- 8 Traces: auto-instrumentation One POST /orders request, three ways to get its first end-to-end trace with zero application code: a Java agent, a build-time extension, and a zero-code launcher.
- 9 Traces: manual spans Wrapping the inventory and payment retry loops in spans of their own: the attempt count, the failure reason, and the business status auto-instrumentation can't see.
- 10 Metrics A custom orders_placed_total counter and a fulfillment-duration histogram, two bridge mechanisms getting them from Micrometer to OTLP, and the exemplar that links a histogram bucket straight to its trace.
- 11 Logs Structured logs carrying trace_id and span_id into Loki, and the one resource attribute all four signals must agree on for correlation to work.
- 12 Baggage Propagating business context such as cart.id across service boundaries with W3C Baggage, reading it back as a span attribute, and the cardinality cost of getting that wrong.
- 13 Context propagation across Kafka Why auto-instrumentation does not reliably carry W3C trace context across a Kafka hop, and the PROPAGATE_KAFKA_CONTEXT toggle that contrasts a continued trace against a broken one.
- 14 Profiling Continuous profiling as a runtime signal: attaching the Grafana Pyroscope agent or SDK in each stack, the Quarkus LogManager ordering gotcha, and where OTLP profiles fit in.
- 15 Semantic conventions Resource attributes, HTTP/DB/messaging conventions, and why consistent naming is what makes traces, metrics, logs, and profiles correlate at all.
Part 3 Making signals useful
Correlating traces, metrics, and logs; choosing auto, manual, or hybrid instrumentation; building dashboards; and putting the Collector and sampling in the path.
- 16 Correlation Linking traces, logs, metrics, and profiles in Grafana through a shared trace_id and the datasource provisioning that wires it together.
- 17 Auto vs. manual vs. hybrid A decision framework for what auto-instrumentation already covers, what to add by hand, and how the hybrid looks in each of the three stacks.
- 18 Dashboards Provisioned dashboards as code, the RED and USE methods, and what a service dashboard needs to answer the first on-call question.
- 19 The Collector Collector pipelines as receivers, processors, and exporters, and why cross-cutting decisions like batching, redaction, and routing belong there instead of in application code.
- 20 Sampling Head sampling versus tail sampling, the tail-sampling Collector config, and what each approach costs you in traces you never see.
Part 4 Production concerns
Cardinality and cost, the service graph and SLOs, a production readiness checklist, and where to go from here.
- 21 Cardinality and cost How unbounded label and attribute values drive up storage and query cost across metrics, logs, and traces, and how to control spend at the Collector.
- 22 Service graph and SLOs How a service graph is derived from spans, how span metrics and the four golden signals feed SLOs, and how to alert on them.
- 23 Production checklist Rollout patterns, per-environment resource attributes, keeping secrets and PII out of telemetry, and the path from this local stack to a managed backend.
- 24 What's next OTLP profiles as the emerging fourth signal, eBPF-based auto-instrumentation, the wider OpenTelemetry ecosystem, and where to read further.
Part 5 Appendix
Deploying the stack and the three-language services to OpenShift with CodeReady Containers (CRC).
- 25 Appendix: OpenShift with CRC Deploy the LGTM stack, Pyroscope, Postgres, Kafka, and the six domain services to a local OpenShift cluster with CodeReady Containers (CRC) and Helm, and confirm the same five signals correlate there as they do on compose.