7

我正在使用弹簧靴 2.3.2。在执行器的帮助下,将应用程序指标发布到指标控制台。我想知道执行器抛光的指标system.cpu.usage和指标之间有什么区别。process.cpu.usage

4

1 回答 1

4

Based on source code

  • system.cpu.usage -- The recent cpu usage for the whole system
  • process.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

于 2021-01-15T20:45:54.487 回答