spring-boot服务增加引用
<dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> <version>1.3.16</version> </dependency>
序号 |
指标 |
类型 |
含义 |
原文 |
1 |
logback_events_total |
counter |
记录到日志的错误级别事件数 |
Number of error level events that made it to the logs |
2 |
system_cpu_usage |
gauge |
整个系统的“最近cpu使用情况” |
The "recent cpu usage" for the whole system |
3 |
system_load_average_1m |
gauge |
系统负载 |
The sum of the number of runnable entities queued to available processors and the number of runnable entities running on the available processors averaged over a period of time |
4 |
system_cpu_count |
gauge |
java虚拟机可用的处理器数量 |
The number of processors available to the Java virtual machine |
5 |
process_start_time_seconds |
gauge |
自unix时代以来进程的开始时间(秒) |
Start time of the process since unix ep |