Setting Up Jaeger with Docker on Windows

November, 1st 2024 1 min read

Jaeger is an open-source tool used for distributed tracing in microservices architectures. Developed by Uber, Jaeger helps track requests as they move across multiple services, making it easier to monitor, analyze, and troubleshoot complex systems. With Jaeger, developers can identify bottlenecks, detect errors, and optimize performance by visualizing how requests interact within distributed applications. Jaeger is often integrated using Docker for fast setup and provides a user-friendly UI for examining trace data. Here’s how to set it up on Windows.

Install Docker

  1. Download Docker Desktop from Docker’s website and follow the installation steps.
  2. Confirm installation:
    docker —version

Install Jaeger with Docker

  1. Pull the Jaeger Image

    docker pull jaegertracing/all-in-one:latest

  2. Run Jaeger Container

docker run -d —name jaeger -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 -p 5775:5775/udp -p 6831:6831/udp -p 6832:6832/udp -p 5778:5778 -p 16686:16686 -p 14268:14268 -p 14250:14250 -p 9411:9411 jaegertracing/all-in-one:latest

  1. Access Jaeger UI
    Visit: http://localhost:16686

Manage the Container

Stop Jaeger

docker stop jaeger

Remove Jaeger

docker rm jaeger

Jaeger’s Docker setup is ideal for development and testing environments, enabling teams to trace and analyze distributed systems quickly and effectively.