Observability & OpenTelemetry
USE metrics
The USE method checks utilization, saturation and errors for each resource on a host, and saturation shows the waiting that a moderate utilization figure can hide.
What you will be able to do
- Explain the difference between utilization, saturation and errors for a resource.
- Decide which resources to check first for a slow batch job.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Observability & OpenTelemetry
- Metrics versus logs versus tracesBeginner · 4 min
Metrics, logs and traces answer complementary questions when investigating a service.
- RED metricsIntermediate · 4 min
RED measures rate, errors and duration for each request-driven service and route, and duration works best as a histogram because averages hide the slow requests users…
- Prometheus scrape modelIntermediate · 4 min
Prometheus pulls metrics from each target on a scrape interval and records a failed scrape as up equal to 0, so gaps in a graph often come from scrape timeouts rather…
- PromQL rateIntermediate · 4 min
rate() turns a counter into a per-second increase over a window and corrects for counter resets, so the window should be longer than two scrape intervals and never…
- PromQL histogram quantileIntermediate · 4 min
histogram_quantile estimates a percentile from cumulative buckets, using the le label as each bound, so the estimate is only as precise as the bucket layout around the…
- Label cardinalityIntermediate · 4 min
Each distinct combination of label values is a separate time series, so cardinality is the product of the label value counts, and unbounded labels make storage and…