Title here
Summary here
This metric provider reads the total time spent in the CPU based on the system /proc/stat file.
CpuTimeProcfsSystemProvidercpu_time_procfs_system-i: interval in millisecondsBy default the measurement interval is 100 ms.
./metric-provider-binary -i 100This metric provider prints to Stdout a continuous stream of data. The format of the data is as follows:
TIMESTAMP READING
Where:
TIMESTAMP: Unix timestamp, in microsecondsREADING:The time spent, in microseconds, by this container in the CPUAny errors are printed to Stderr.
The provider reads from /proc/stat. We collect user, nice, system, idle iowait, irq, softirq, steal (see definitions in CPU stats documentation), and add them together over the measurement period.