RousselTMLEARNING

TP · Jaeger: distributed tracing from discovery to expertise

Lab: Jaeger all-in-one and troubleshooting with HotROD

What you will learn in this TP
  • Start Jaeger and HotROD
  • Read a trace
  • Identify the bottleneck
Mode :

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. 1. Start

    Why? HotROD sends its traces to Jaeger over OTLP.

    Create a Compose file with Jaeger and HotROD, then start it.
  2. 2. Generate requests

    Why? Several simultaneous clicks reproduce the load that slows the service down.

    Open http://localhost:8080 and quickly click the customer buttons about ten times.
  3. 3. Find a slow trace

    Why? The scatter plot highlights abnormal traces.

    In Jaeger, search for traces from the frontend service for the HTTP GET /dispatch operation and open the slowest one.
  4. 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 to route and redis?
  5. 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

  • ⏱ Estimated time : ≈ 40 min

Sign in to track your progress and take notes. Sign in

⭐ Rate this lesson

5.0 initial rating from the teaching team

Sign in to rate this lesson →

💬 Questions about this lesson

No questions yet: be the first to ask for help or share your configuration.

Ask a question about this lesson →

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...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!