一、jvm进程cpu利用率优化
# HELP process_cpu_usage The "recent cpu usage" for the Java Virtual Machine process # TYPE process_cpu_usage gauge process_cpu_usage 0.12489451476793248
告警优化:
(1)原来的告警规则:
(2)新的告警规则
- alert: JVM_P HighCPU expr: process_cpu_usage > 0.8 for: 2m annotations: summary: "warn Instance {{ $labels.instance }} jvm process High cpu usage" description: " {{ $labels.instance }} of job {{ $labels.job }} jvm process cpu usage is too high for more than 2 minutes."
二、
标签:012k8s,process,labels,Prometheus,jvm,usage,告警,解析,cpu From: https://www.cnblogs.com/itcomputer/p/17093532.html