vishal patel
UnderstoodIntermediateUpdated 2026-09-23

Observability — Logs, Metrics, Traces

Know what your system is doing in production — the three pillars, OpenTelemetry, SLIs/SLOs, and alerting on symptoms not causes.

opentelemetryslomonitoringtracing

Three signals, one context

diagram
SignalAnswersTip
MetricsIs something wrong? How much?RED for services (Rate, Errors, Duration); USE for resources
TracesWhere is it slow or failing?Propagate traceparent across HTTP and queues
LogsWhy exactly?Structured JSON with traceId, tenantId, requestId

SLOs

  • SLI: a measured ratio, e.g. "% of publish API requests under 500 ms and non-5xx".
  • SLO: the target, e.g. 99.9% over 30 days. The error budget is 0.1%.
  • Alert on burn rate (budget consumed too fast), not on CPU at 80%.

Multi-tenant extras

Tag every signal with tenantId, since "is it one customer or everyone?" is the first incident question. Watch the cardinality cost in metrics: use exemplars or logs for per-tenant detail.

Sources & further learning

Videos, courses, docs and books I recommend for this topic.

Related topics