.NET Architecture & System Design Interview Question #146

What is observability?

Resilience, Rate Limiting, Health Checks & Observability Senior Advanced

Quick Interview Answer

Observability is the ability to understand a system's internal state and behavior from the signals it produces. In distributed systems, this is essential for diagnosing failures that cross process and service boundaries.

Detailed Explanation

Observability is the ability to understand a system's internal state and behavior from the signals it produces. In distributed systems, this is essential for diagnosing failures that cross process and service boundaries.

Core signals include logs, metrics, and distributed traces. Effective observability also requires consistent context, useful dashboards, alerts, and ownership rather than merely collecting large amounts of telemetry.

Code Example

Observability signals:
Logs
Metrics
Traces

+ correlation/context
+ dashboards
+ alerts