# Observability Fundamentals

> The three main telemetry signals, what each is good for, and the RED and USE methods for deciding what to measure. Free notes, key concepts, resources and a...

Canonical: https://www.internhack.in/roadmaps/tracks/devops/observability-fundamentals
Last updated: 2026-11-28

The three main telemetry signals, what each is good for, and the RED and USE methods for deciding what to measure.

Intermediate · about 3 hours · difficulty 2/5

Learn first: [Performance and Troubleshooting](https://www.internhack.in/roadmaps/tracks/devops/linux-performance), [HTTP and HTTPS](https://www.internhack.in/roadmaps/tracks/devops/http-https)

**Monitoring** tells you that something is wrong; **observability** is the ability to ask new questions of your system and find out why, without shipping new code. Both rest on telemetry.

### The signals

- **Metrics**: numeric time series (request rate, latency percentiles, CPU). Cheap to store and ideal for dashboards and alerts.
- **Logs**: timestamped event records. Rich detail for debugging a specific failure. Emit **structured** logs (JSON with consistent fields), not free text.
- **Traces**: the path of one request across services, made of timed **spans**. Show where latency and errors come from in distributed systems.
- **Profiles** and **events** (deploys, config changes) are increasingly treated as signals too.

Link them: put the **trace ID** in every log line and attach exemplars to metrics.

### What to measure

- **RED** for request-driven services: **Rate**, **Errors**, **Duration**.
- **USE** for resources: **Utilisation**, **Saturation**, **Errors** (CPU, memory, disk, network, connection pools).
- Google's **four golden signals**: latency, traffic, errors, saturation.
- Business signals: sign-ups, checkouts, jobs processed.

### Cardinality and cost

Every unique combination of metric labels is a new time series. Labels such as user ID or full URL explode storage and cost. Keep high-cardinality detail in logs and traces, and sample traces sensibly.

### Pull vs push

Prometheus **scrapes** targets; many SaaS agents and OpenTelemetry **push** to collectors. Both work; know which your stack uses when debugging missing data.

**Good enough to move on:** you can say which signal answers a given question, list the RED metrics for an API and the USE metrics for a database host, and explain why user ID should not be a metric label.

## Key concepts

- **Monitoring vs observability**
- **Metrics, logs and traces**
- **Structured logging**
- **RED and USE methods**
- **Four golden signals**
- **Cardinality and cost**
- **Correlating signals with trace IDs**

## Mini project

For a service you run, write a telemetry plan: the RED metrics with label sets, the log fields every line must carry, and three questions you want traces to answer.

## Check yourself

Latency alerts fire but CPU and memory look fine. Which signal would you look at next, and what would you expect to find?

## Free resources

- [Monitoring Distributed Systems (SRE Book)](https://sre.google/sre-book/monitoring-distributed-systems/) (Google SRE)
- [OpenTelemetry: observability primer](https://opentelemetry.io/docs/concepts/observability-primer/) (OpenTelemetry)

Previous: [SOPS, Sealed Secrets and External Secrets](https://www.internhack.in/roadmaps/tracks/devops/sops-external-secrets) · Next: [Prometheus and Grafana](https://www.internhack.in/roadmaps/tracks/devops/prometheus-grafana)

## More in Observability: Metrics, Logs, Traces and SLOs

- [Observability Fundamentals](https://www.internhack.in/roadmaps/tracks/devops/observability-fundamentals)
- [Prometheus and Grafana](https://www.internhack.in/roadmaps/tracks/devops/prometheus-grafana)
- [Centralised Logging with Loki](https://www.internhack.in/roadmaps/tracks/devops/loki-logging)
- [Elastic Stack (ELK) and OpenSearch](https://www.internhack.in/roadmaps/tracks/devops/elk-stack)
- [Distributed Tracing with OpenTelemetry](https://www.internhack.in/roadmaps/tracks/devops/tracing-opentelemetry)
- [Alerting That Does Not Burn People Out](https://www.internhack.in/roadmaps/tracks/devops/alerting)
- [SLIs, SLOs and Error Budgets](https://www.internhack.in/roadmaps/tracks/devops/slo-error-budgets)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [DevOps Engineer Roadmap](https://www.internhack.in/roadmaps/tracks/devops)
