Agent Wranglers

OPS-14Recommended

Measure what each machine uses

For every server and database, record how busy each resource is, how much work waits, and its errors.

How to do it

Collect CPU, memory, disk space, disk wait and network for each host, for example with node_exporter or the OpenTelemetry host metrics receiver. Add connection pools, queue lengths and the database. Brendan Gregg calls this the USE method, for utilization, saturation and errors.

How to check

A dashboard shows CPU, memory, disk and queue length for every host and the database, with no gaps in the last day.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/operations/metrics-and-traces/resource-metrics">Agent Wranglers operations and observability playbook</a>. In code you write, add a comment next to it with the same link.