GuideCan OpenTelemetry tell me why one process is slow?
OpenTelemetry’s process scraper reports what each process used. It says little about what each process waited for.
The process scraper is the per-process part of the host metrics receiver. Four metrics are on by default. The ones nearest to a diagnosis are optional. Apart from one state of CPU time, none is a wait time.
Step 1: turn on the process scraper
receivers:
host_metrics:
scrapers:
process:
include:
names: [ myservice ]
match_type: strict
mute_process_name_error: true
include and exclude take a list of process names, matched strictly or by regular expression. Without them the scraper reports every process it can read. It reports nothing until a metrics pipeline under service lists it as a receiver, with an exporter after it.
The mute_process_* options silence the errors raised when the Collector does not have permission to read a process’s name, executable path, I/O or cgroup. If you see those errors, the Collector is not seeing every process.
Step 2: what you get by default
process.cpu.time: total CPU seconds, broken down by state: system, user and wait. process.memory.usage: physical memory in use. process.memory.virtual: committed virtual memory. process.disk.io: disk bytes transferred.
Step 3: enable the optional ones that help
receivers:
host_metrics:
scrapers:
process:
metrics:
process.cpu.utilization:
enabled: true
process.context_switches:
enabled: true
process.paging.faults:
enabled: true
process.disk.operations:
enabled: true
process.threads:
enabled: true
process.context_switches is the number of times the process was context switched, and process.paging.faults the number of page faults it made; both are Linux only. process.disk.operations counts disk operations. These are counts of events, not time spent waiting.
Step 4: read them for one slow process
None of these metrics names a cause on its own. High CPU time in user with nothing else unusual is a busy process. CPU time moving into wait, with disk bytes low, is consistent with a process waiting on storage rather than loading it. Page faults rising while memory usage is flat are worth checking against memory. Each is a reason to look closer on the machine: a slow process with low CPU gives the commands.
What the list does not contain
CPU time has a wait state. Beyond that, no metric in the process scraper’s list is a time the process spent waiting for a turn on the CPU, or a memory stall. The counts above are the nearest it comes. So the scraper can show that a process changed, and it leaves open what the process was waiting for and which resource started it.
Where Commotion begins
Every step above is done by hand, on one machine, while the incident is still happening. Commotion makes the judgement for every process on the node, each second: it judges a process on measured waiting, not on usage, and names which of CPU, memory, disk or network is at the root, with the measurement that proves it.
It runs beside the monitoring you already have. Read one incident, or see what Early Access involves.
Checked on 3 December 2026 against: OpenTelemetry: host metrics receiver, Process scraper metrics. Metric names, defaults and configuration keys differ between Collector versions; check the documentation for yours.
Stop guessing the cause from graphs.
Sign-up is not open yet; write to commotion@littlebit.in to ask about a trial.