Observability
Also known as: O11y
Degree to which a system's internal state can be inferred from its outputs, and the practices and tools that make software systems understandable.
Observability describes how well engineers can work out what is happening inside a system from the data it emits. The word comes from control theory, where Rudolf Kalman introduced it around 1960 as a mathematical property of dynamic systems. In software operations it refers both to that quality and to the tooling built around it. A highly observable system lets people answer questions they did not anticipate when it was built, such as why one class of requests is slow for one group of users, without deploying additional code to find out.
Telemetry is commonly grouped into three kinds of signal. Metrics are numeric measurements aggregated over time, such as request rates or memory use, well suited to dashboards and alerts. Logs are timestamped records of discrete events. Traces follow a single request as it passes through many services, showing where time is spent; Google's Dapper paper, published in 2010, influenced much of the distributed tracing that followed. Profiles and structured events are often added to the list. OpenTelemetry, a Cloud Native Computing Foundation project formed in 2019 from the merger of OpenTracing and OpenCensus, provides vendor-neutral standards for collecting these signals.
Observability is often contrasted with monitoring. Monitoring checks known conditions, such as whether a disk is nearly full; observability supports open-ended investigation of unfamiliar problems, which matters more as systems split into microservices. Tools such as Prometheus and Grafana are widely used for metrics and visualization. Collecting telemetry has costs in storage, processing and sometimes privacy, since logs can capture personal data. Good observability also underpins site reliability engineering, where measurements of user experience feed service level objectives.
Key points
- The concept originated in control theory and was adapted to describe understandable software systems.
- Metrics, logs and traces are the most commonly cited telemetry signals.
- Distributed tracing follows a single request across services to show where time is spent.
- OpenTelemetry provides vendor-neutral standards for generating and collecting telemetry.
Related entries
Prometheus
Open-source monitoring and alerting system that scrapes metrics from services and stores them as labeled time series for querying and alerts.
Grafana
Open-source dashboard and visualization platform that queries metrics, logs and traces from many data sources and displays them as interactive panels.
Discipline that applies software engineering to IT operations, using automation and measurable reliability targets to run large-scale systems.
Service Level Objective
Target value for a measured aspect of a service's performance, such as availability or latency, that a team commits to meeting over a set period.
Microservices
Architectural style that builds an application as a suite of small, independently deployable services, each running its own process and owning its data.
SIEM
Security platform that collects, normalizes and analyzes log and event data from across an organization to detect threats and support investigations.
Cloud Native Computing Foundation
Linux Foundation organization that hosts Kubernetes and other cloud native open-source projects and promotes their adoption.
Featured in guides
Referenced by
Other entries that discuss or point to Observability.