spring_reference/V. Spring Boot Actuator/44.1. System metrics.md

14 lines
653 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 44.1. 系统指标
Spring Boot暴露以下系统指标
- 系统内存总量mem单位:Kb
- 空闲内存数量mem.free单位:Kb
- 处理器数量processors
- 系统正常运行时间uptime单位:毫秒
- 应用上下文就是一个应用实例正常运行时间instance.uptime单位:毫秒
- 系统平均负载systemload.average
- 堆信息heapheap.committedheap.initheap.used单位:Kb
- 线程信息threadsthread.peakthead.daemon
- 类加载信息classesclasses.loadedclasses.unloaded
- 垃圾收集信息gc.xxx.count, gc.xxx.time