What are the "Three Pillars of Observability" (Metrics, Logs, Traces) and how do they apply to microservices?

Last updated 3 July 2026

  • Metrics are cheap aggregated numbers (rate, errors, latency) for dashboards and alerts. They tell you THAT something is wrong.

  • Logs are structured per-event records that tell you WHAT happened inside one service. Traces link spans (one per service hop) by a shared trace ID to show WHERE time or failure occurred.

  • In microservices they work together: alert on metrics, use the trace to find the slow service, then read its logs for root cause.

  • https://www.geeksforgeeks.org/system-design/top-microservices-interview-questions/
  • https://www.geeksforgeeks.org/system-design/microservices-resilience-patterns/
  • https://medium.com/@RichaShukla2111/saga-pattern-a-practical-guide-to-distributed-transactions-in-microservices-f4f0f27755f0
  • https://dev.to/athulmr/making-rest-microservices-resilient-bulkhead-retry-circuit-breaker-in-practice-1mpl
  • https://blog.bytebytego.com/p/6-more-microservices-interview-questions
All Microservices interview questions