I am using spring boot 2.3.2. With help of actuator, publishing the application metrics to metrics console. I would like to know what is the difference between system.cpu.usage
and process.cpu.usage
metrics polished by the actuator.
Asked
Active
Viewed 1.0k times
9

Manu
- 3,467
- 3
- 29
- 28
1 Answers
10
Based on source code
system.cpu.usage
-- The recent cpu usage for the whole systemprocess.cpu.usage
-- The recent cpu usage for the Java Virtual Machine process
For more info about these metrics you can look at java doc of this bean OperatingSystemMXBean

Kirill Liubun
- 1,965
- 1
- 17
- 35