摘要:
1、创建指标采集脚本,该脚本结合crontab的* * * * *表示每15s运行一次 mkdir /opt/custom_metrics/ vim /opt/custom_metrics/disk_usage_monitor.sh #!/bin/bash # /opt/custom_metrics 阅读全文
posted @ 2025-08-17 01:35
苦逼yw
阅读(41)
评论(0)
推荐(0)
摘要:
deepseek解释 1、cpu使用率 promql表达式:100 - (avg(irate(node_cpu_seconds_total{mode="idle"}[5m])) by(instance) * 100) 可以拆解为: node_cpu_seconds_total{mode="idle" 阅读全文
posted @ 2025-08-17 01:20
苦逼yw
阅读(151)
评论(0)
推荐(0)

浙公网安备 33010602011771号