Menu

Observability Explained: Logs, Metrics and Traces
📰

Observability Explained: Logs, Metrics and Traces

DEV Community: microservices·Dilip V P·about 1 month ago
#yHOX1p8A
#devtomicroservices#devto#dev#order#every
Long article (1419 words) — no AI summary yet.
Reading 0:00
15s threshold

It is 20:15. Support calls: order 4473 was paid at 19:35, forty minutes ago, and there is still no food and no rider.

You open the dashboard. Every container is green. Orders, payments, kitchen, riders, pricing, notify: all six say UP.

This article follows that one order until we find it, using logs, then metrics, then traces, and ends with the reason the trace could not see the bug on its own. The video tells it as a conversation between two engineers on call, and I voice both of them. This is the written version.

A health check is a fact about a service

Every ten seconds, the platform calls each service's health endpoint and asks whether it is alive. (Ten seconds is the Kubernetes default for a probe.) All six answer yes.

That answer is true. It is also about the wrong thing. A health check is a fact about a service: it is running and it can answer. "Did order 4473 arrive?" is a fact about one request, and no health check answers it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.