When would you reach for metrics, logs, traces or profiles during an incident?
BeginnerConceptObservability Fundamentals & Signals
Answer
- Metrics detect and scope: which service, since when, how bad.
- Traces localize: which hop in the request path is slow or failing.
- Logs explain: the exact error, stack trace and input for that span.
- Profiles pinpoint code: which function is hot or allocating.
The workflow works best when signals are correlated: exemplars link a metric point to a trace ID, and logs carry trace_id so you can jump from a span to its log lines.
More on Observability Fundamentals & Signals
What is the difference between monitoring and observability?BeginnerWhat are the "three pillars" of observability, and what is the fourth signal people now add?BeginnerWhat are the four Prometheus metric types?BeginnerWhy should you never use a gauge to count requests?BeginnerHistogram vs summary: what is the real difference, and which do you choose?IntermediateWhat are native (sparse) histograms in Prometheus?Advanced