ydswin

忘记背后,努力面前的,向着标杆直跑

导航

2024年3月11日 #

Prometheus四种指标及PromQL实例

摘要: Prometheus四种主要的指标类型包括Counter、Gauge、Histogram和Summary,以及相应的PromQL实例如下: Counter(计数器) 作用:只增不减的计数器,常用于记录请求次数、任务完成数、错误发生次数等。重启进程后,计数会被重置。 PromQL实例:假设我们有一个H 阅读全文

posted @ 2024-03-11 22:07 dashery 阅读(144) 评论(0) 推荐(0) 编辑

Prometheus常用exporter及其常用监控指标

摘要: node-exporter常用监控指标 CPU相关指标: node_cpu_seconds_total{mode="idle"}:CPU空闲时间(秒)的总和。这是评估CPU使用率的重要指标之一。 node_cpu_seconds_total{mode="system"}、node_cpu_secon 阅读全文

posted @ 2024-03-11 21:48 dashery 阅读(1610) 评论(0) 推荐(0) 编辑