What you will learn in this TP
- Deploy Tempo
- Send test traces
- Find them in Grafana
All steps and instructions are shown. Recommended for this lab: guided
Introduction #
Context. A user complains that an order is slow, but your logs and metrics do not tell you which service is at fault. Distributed tracing follows a request end to end; you install Tempo, which stores it at low cost.
Prerequisites: Docker and Docker Compose · Estimated time: 30 min
A lab Tempo + Grafana stack.Setup #
Configuration and validation.
1. Start the stack
Why? A local stack with Tempo and Grafana shows the full cycle (ingestion, storage, viewing) without depending on real applications.
Createtempo.yaml(OTLP receiver, local storage) and a Compose file withtempoandgrafana.2. Check
Why? Checking that Tempo is ready saves you ten minutes diagnosing a problem that is only an incomplete start-up.
How do you know Tempo is ready?3. Generate traces
Why? A trace generator provides realistic data (child spans, service names) so you can learn without instrumenting an application.
Send 20 traces with 3 child spans for thedemoservice.4. Explore in Grafana
Why? Searching in Grafana with TraceQL is the everyday routine: you start from a symptom (a service) and end up at a specific trace.
Add the Tempo data source (http://tempo:3200) then search for traces in Explore with TraceQL.
Validate your work
Check that each goal above is reached and that you get the result described in the introduction.
Difficulty level : ●○○○○ (1/5)
My progress
Sign in to track your progress and take notes. Sign in
💬 Recent discussions about this course
- Passer d'une trace Tempo aux logs Loki en un clic✓ solved · 1 reply(ies)
Ask a question about this lesson →See all discussions about this course
Recommended Articles
Grafana Tempo: the distributed tracing backend at scale
Understand distributed tracing and Grafana Tempo: traces, spans, TraceID, architecture (distribut...
Installing Grafana Tempo (Docker Compose, binary and Helm)
Install Grafana Tempo: the tempo.yaml configuration, Docker Compose with Grafana and Prometheus, ...
Grafana Alloy: Trace Management with Tempo
Dive into distributed trace processing. Learn how to ingest OTLP, Jaeger, or Zipkin traces with G...
Grafana Tempo or Jaeger: which tracing backend to choose?
Detailed comparison of Grafana Tempo and Jaeger: architecture, storage, search, query language, s...
The LGTM stack (Loki, Grafana, Tempo, Mimir): architecture and setup
Grafana Labs' LGTM stack: Loki for logs, Grafana for visualization, Tempo for traces, Mimir for m...
TraceQL: the trace query language
Master TraceQL: span selectors, resource and span attributes, operators, duration comparisons, st...
Installing Phoenix and tracing your first LLM application
Install Arize Phoenix (pip, Docker), send your first OpenInference traces from an OpenAI applicat...
Capstone project: the four signals of the OpenTelemetry Demo in the Grafana stack
A capstone project spanning the observability courses: deploy the OpenTelemetry Demo, send metric...
Sending traces to Tempo: OpenTelemetry instrumentation and Alloy
Produce and route traces to Tempo: Python/Java/Node auto-instrumentation, the manual SDK, OTEL en...