5657585960616263646566
} } void logCpu(NodeMetrics nodeMetrics) { Cpu cpu = StandardMetrics.extractCpu(nodeMetrics); if (cpu != null && cpu.systemLoadAverage().isDefined()) { log.info("Load: {} ({} processors)", cpu.systemLoadAverage().get(), cpu.processors()); } }
5758596061626364656667
} void logCpu(NodeMetrics nodeMetrics) { Cpu cpu = StandardMetrics.extractCpu(nodeMetrics); if (cpu != null && cpu.systemLoadAverage().isDefined()) { log.info("Load: {} ({} processors)", cpu.systemLoadAverage().get(), cpu.processors()); } } }