Node.js › Cloud & DevOps

What is observability (as distinct from traditional monitoring), and what are its three commonly cited pillars?

Advanced

Answer

Observability is a system's property of exposing enough internal state that engineers can diagnose novel, unanticipated problems from external outputs -- the three pillars are logs (discrete events), metrics (aggregated numerical measurements), and traces (following a request's path across distributed services).
logger.info({ event: 'order_placed', orderId, durationMs }, 'Order placed');
metrics.increment('orders.placed');
const span = tracer.startSpan('process-payment');
span.end();
Real-world example A team investigating a latency spike uses distributed tracing to follow slow requests across five microservices, finding the delay originates from a single downstream call dashboards alone hadn't surfaced.

Common follow-ups: How does observability differ practically from having lots of dashboards and alerts?;What tools like OpenTelemetry provide a vendor-neutral way to instrument all three pillars?