Application request tracing with Traefik and Jaeger on Kubernetes

Click for: original source

This is the third in a series of articles on site reliability engineering (SRE) and how Traefik can help supply the monitoring and visibility that are necessary to maintain application health. By Neil McAllister.

Debugging anomalies, bottlenecks, and performance issues is a challenge in distributed architectures, such as microservices. Each user request typically involves the collaboration of many services to deliver the intended outcome. Because traditional monitoring methods like application logs and metrics tend to target monolithic applications, they can fail to capture the full performance trail for every request.

The article main content can be split into:

  • Prerequisites
  • Set up tracing
  • Minimal deployment
  • Install and configure Traefik
  • Deploy Hot R.O.D.
  • Application traces

This post has presented a very simple demonstration of how to integrate Traefik with Jaeger. There is much more to explore with Jaeger, and similar integrations can be done with other tracing systems, such as Zipkin and Datadog. Whichever one you choose, Traefik makes it easy to follow the progress of each request and gain insights into application flow. You will also get links to previous articles in the series and links to further reading. Good read!

[Read More]

Tags kubernetes containers apis devops app-development open-source