LF Observability study materials
LF Observability study resources

LF Observability key terms

LF Observability · Get comfortable with the vocabulary.

Observability

The ability to infer a system's internal state from the telemetry it emits, so you can answer new questions without shipping new code. It relies on correlated metrics, logs, and traces rather than on pre-defined dashboards alone.

Related: Telemetry, Cardinality
Telemetry

The data a system emits about its own behavior, such as counters, log records, and spans. Telemetry is collected, transported, and stored so operators can inspect health and diagnose faults after the fact.

Related: Observability, Collector
Three Pillars

A shorthand for metrics, logs, and traces as complementary signal types. Metrics summarize cheaply over time, logs capture discrete events, and traces follow a request across services; each answers different questions and they are strongest when correlated.

Related: Metrics, Logs, Traces
Service Level Indicator (SLI)

A measured quantity describing service behavior, such as request latency or error ratio. An SLI is the raw number you observe; it becomes meaningful when compared against an objective.

Related: Service Level Objective (SLO), Error Budget
Service Level Objective (SLO)

A target range for an SLI over a window, for example 99.9 percent of requests succeeding over 28 days. SLOs convert reliability expectations into measurable goals that guide alerting and release decisions.

Related: Service Level Indicator (SLI), Error Budget, Alerting
Error Budget

The allowed amount of unreliability implied by an SLO, computed as one minus the objective. Spending the budget on risky changes is acceptable; exhausting it should slow releases and trigger investigation.

Related: Service Level Objective (SLO), Burn Rate
Burn Rate

How fast an error budget is being consumed relative to the rate that would exhaust it exactly at the end of the SLO window. A burn rate of one is sustainable; multi-window alerts fire on fast burns to catch incidents early.

Related: Error Budget, Alerting
Alerting

Rules that evaluate telemetry and notify responders when conditions warrant action. Good alerts are symptom-based, actionable, and routed with severity and ownership so pages reach the right person quickly.

Related: Burn Rate, Runbook
Runbook

A short, maintained document describing how to diagnose and mitigate a specific alert or failure mode. Linking runbooks to alerts shortens recovery and captures operational knowledge for on-call engineers.

Related: Alerting, Incident Response
Incident Response

The structured process of detecting, triaging, mitigating, and learning from service disruptions. It defines roles, communication channels, and timelines so responders act calmly and record evidence for later review.

Related: Runbook, Postmortem
Postmortem

A blameless review after an incident that documents timeline, impact, contributing causes, and follow-up actions. Its purpose is systemic learning, not assigning fault, and it feeds improvements back into monitoring and design.

Related: Incident Response, Runbook
Metrics

Numeric measurements aggregated over time, such as counters and gauges, stored as time series. They are cheap to retain and query, making them suitable for dashboards, alerting, and long-term trend analysis.

Related: Time Series, Histogram, Cardinality
Counter

A metric that only increases, or resets to zero on restart, representing a cumulative count such as requests served. Rates and increases are derived from counters rather than reading the raw total.

Related: Gauge, Rate
Gauge

A metric representing a value that can rise or fall at any moment, such as queue depth or memory usage. Gauges are read directly and are not meaningful to differentiate like counters.

Related: Counter, Metrics
Histogram

A metric that records the distribution of observations by counting values into configured buckets, enabling percentile estimation. Bucket boundaries must suit the expected range, and aggregation across instances requires care.

Related: Percentile, Exemplar
Summary

A metric type that computes quantiles on the client side over a sliding window and exports them directly. Quantiles cannot be merged across instances, so summaries suit per-instance analysis more than fleet-wide aggregation.

Related: Histogram, Percentile
Percentile

A value below which a given share of observations falls, such as the 95th percentile latency. Percentiles describe tail behavior but cannot be averaged across instances; aggregate from histograms instead.

Related: Histogram, Summary
Time Series

A sequence of timestamped values identified by a metric name plus a set of labels. Each distinct label combination forms its own series, which is why label design drives storage cost and query performance.

Related: Label, Cardinality
Label

A key-value pair attached to a metric that identifies dimensions such as service, method, or status code. Labels enable filtering and grouping but multiply series count, so high-variability values should be avoided.

Related: Time Series, Cardinality
Cardinality

The number of distinct label combinations a metric produces. High cardinality from unbounded values like user IDs or raw URLs inflates memory and query cost and is a common cause of monitoring outages.

Related: Label, Time Series, Exemplar
Rate

The per-second increase of a counter over a time window, computed by the query engine rather than the client. Rates smooth counter resets and reveal throughput trends for dashboards and alerts.

Related: Counter, PromQL
PromQL

The query language used with Prometheus-style metrics, offering selectors, functions, and operators over time series. Understanding rate, aggregation, and vector matching is essential for building correct dashboards and alerts.

Related: Rate, Time Series
Exemplar

A sample trace identifier attached to a metric observation, letting you jump from an aggregated spike to a specific request trace. Exemplars bridge metrics and traces without storing per-request metric labels.

Related: Histogram, Trace ID, Cardinality
Logs

Timestamped records of discrete events, usually with a severity and message, optionally structured as key-value fields. They provide detail and context that metrics cannot, but volume and cost require sampling and retention policies.

Related: Structured Logging, Log Aggregation
Structured Logging

Emitting logs as machine-parsable fields, typically JSON, instead of free-form text. Structured fields make filtering, aggregation, and correlation with trace identifiers reliable and cheap.

Related: Logs, Trace ID
Log Aggregation

Collecting logs from many hosts and services into a central store for search and retention. Agents or collectors ship entries, and indexing choices determine query speed and storage cost.

Related: Logs, Collector, Retention
Traces

Records of a request's path through distributed services, composed of nested spans with timing and attributes. Traces reveal where latency accumulates and which downstream call failed for a specific request.

Related: Span, Trace ID, Context Propagation
Span

A single timed operation within a trace, such as an HTTP call or database query, with a start time, duration, attributes, and status. Spans nest via parent identifiers to form the trace tree.

Related: Traces, Trace ID, Attribute
Trace ID

A globally unique identifier shared by every span in one trace, allowing spans from different services to be stitched together. Logging it alongside events enables jumping between logs and traces.

Related: Span, Exemplar, Context Propagation
Context Propagation

Passing trace and baggage identifiers across process and network boundaries, typically via headers, so downstream services join the same trace. Missing propagation produces fragmented, disconnected traces.

Related: Trace ID, Span, OpenTelemetry
Sampling

Choosing a subset of traces or events to export to control cost and volume. Head sampling decides at trace start, while tail sampling decides after seeing the whole trace, enabling keep-on-error policies.

Related: Traces, Collector, Retention
OpenTelemetry

A vendor-neutral open source project providing APIs, SDKs, and a collector for generating and shipping metrics, logs, and traces. It standardizes instrumentation so backends can be swapped without rewriting code.

Related: Collector, Auto-Instrumentation, Context Propagation
Collector

An OpenTelemetry component that receives, processes, and exports telemetry through configurable pipelines of receivers, processors, and exporters. It centralizes batching, sampling, filtering, and credential handling away from applications.

Related: OpenTelemetry, Sampling, Telemetry
Auto-Instrumentation

Attaching instrumentation to libraries and frameworks without editing application code, via agents or language-specific hooks. It gives fast baseline coverage of common calls, which manual instrumentation then enriches with business context.

Related: OpenTelemetry, Span, Attribute
Attribute

A key-value pair attached to a span, log record, or resource describing context such as HTTP method or deployment environment. Attributes enable filtering and grouping but should avoid unbounded values.

Related: Span, Cardinality, Resource
Resource

In OpenTelemetry, the set of attributes describing the entity producing telemetry, such as service name, host, and cluster. A consistent service name is essential for correlating signals across backends.

Related: Attribute, Collector, Telemetry
Dashboard

A curated view of charts and panels answering operational questions at a glance. Effective dashboards follow a hierarchy from high-level service health to drill-down detail and link out to traces and logs.

Related: Metrics, Alerting, Percentile
Retention

How long telemetry is stored before deletion, often tiered by resolution or age. Retention choices balance investigation needs against storage cost and are constrained by query performance and compliance rules.

Related: Sampling, Log Aggregation, Telemetry