1.Metrics, logs, and traces (the ops layer)
Metrics, logs, and traces are the three raw signals every other tool in this section is built on — alerts fire on metrics, dashboards chart metrics, and an incident responder reads logs and traces to find the broken component.
Key features
- Metrics, structured/JSON logs, and distributed tracing (OpenTelemetry) are taught in depth in Logging and Observability — this section assumes that ground
- An alert is a threshold rule evaluated against a metric — no metric, no alert
- A dashboard visualizes metrics over time — it has nothing to chart without them
- An incident responder reads logs for what happened and traces for where time went — the diagnostic raw material
- SLIs (next concept) are just metrics chosen specifically to represent user-facing reliability
Signature
metrics / logs / traces → alerts, dashboards, SLOs, incident response
This section builds alerts, dashboards, SLOs, and incident response ON TOP of metrics/logs/traces — see Logging and Observability for how to actually produce them in Python.