What you will learn in this TP
- Start Jaeger and HotROD
- Read a trace
- Identify the bottleneck
All steps and instructions are shown. Recommended for this lab: guided
Introduction #
Context. HotROD users are complaining: ordering a car sometimes takes several seconds. You use traces to find the cause.
Prerequisites: Docker Compose · Estimated time: 40 min
Your first diagnosis using traces.Setup #
Guided steps, with their solutions.
1. Start
Why? HotROD sends its traces to Jaeger over OTLP.
Create a Compose file with Jaeger and HotROD, then start it.2. Generate requests
Why? Several simultaneous clicks reproduce the load that slows the service down.
Openhttp://localhost:8080and quickly click the customer buttons about ten times.3. Find a slow trace
Why? The scatter plot highlights abnormal traces.
In Jaeger, search for traces from thefrontendservice for theHTTP GET /dispatchoperation and open the slowest one.4. Read the timeline
Why? The critical path reveals where the time is spent.
Which span is the longest on the critical path? What do you notice about the calls torouteandredis?5. Check with the System Architecture view
Why? The dependency graph confirms the topology inferred from the traces.
Open the System Architecture tab and find the services and their calls.
Validate your work
Check that each goal above is reached and that you get the result described in the introduction.
Difficulty level : ●●○○○ (2/5)
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
Installing and deploying ClickStack: all-in-one, Docker Compose, Helm and Managed ClickStack
Deploying ClickStack to fit the need: all-in-one container with persistence, Docker Compose and i...
Grafana Alloy vs OpenTelemetry Collector: Which One Should You Choose?
A detailed comparison between Grafana Alloy and the OpenTelemetry Collector. Discover the strengt...
Installing Phoenix and tracing your first LLM application
Install Arize Phoenix (pip, Docker), send your first OpenInference traces from an OpenAI applicat...
Grafana Alloy: Trace Management with Tempo
Dive into distributed trace processing. Learn how to ingest OTLP, Jaeger, or Zipkin traces with G...
Application Observability in Grafana Cloud
Application Observability in Grafana Cloud: RED metrics from traces, service map, OpenTelemetry o...
Distributed tracing: context propagation (W3C Trace Context and baggage)
Understand and implement OpenTelemetry context propagation: the traceparent header, tracestate, b...
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...
Grafana Alloy vs Grafana Agent vs Promtail: which one to choose?
Discover how telemetry collectors have evolved in the Grafana ecosystem. A detailed comparison of...
Traefik: distributed tracing with OpenTelemetry
Enable Traefik v3 tracing with OpenTelemetry (OTLP), propagate the W3C context to applications, s...