node-exporter 是一个 Prometheus 的 Exporter,用于收集和暴露有关主机系统的各种指标。以下是 node-exporter 支持的一些指标和其对应的参数:

  1. CPU 相关指标:
  • node_cpu_seconds_total:CPU 时间总量。
  • node_cpu_seconds_total{mode="idle"}:CPU 空闲时间。
  • node_cpu_seconds_total{mode="system"}:CPU 内核空间时间。
  • node_cpu_seconds_total{mode="user"}:CPU 用户空间时间。
  • node_cpu_seconds_total{mode="iowait"}:CPU 等待 I/O 时间。
  1. 内存相关指标:
  • node_memory_MemTotal_bytes:系统总内存。
  • node_memory_MemFree_bytes:系统空闲内存。
  • node_memory_Cached_bytes:系统缓存的内存。
  • node_memory_Buffers_bytes:系统缓冲的内存。
  1. 磁盘相关指标:
  • node_disk_io_time_seconds_total:磁盘 I/O 时间总量。
  • node_disk_io_time_seconds_total{device="sda"}:磁盘 sda 的 I/O 时间。
  • node_disk_io_time_seconds_total{device="sda", mode="read"}:磁盘 sda 的读 I/O 时间。
  • node_disk_io_time_seconds_total{device="sda", mode="write"}:磁盘 sda 的写 I/O 时间。
  1. 网络相关指标:
  • node_network_receive_bytes_total:接收的总字节数。
  • node_network_receive_bytes_total{device="eth0"}:接收的 eth0 网卡的总字节数。
  • node_network_transmit_bytes_total:发送的总字节数。
  • node_network_transmit_bytes_total{device="eth0"}:发送的 eth0 网卡的总字节数。

以上是 node-exporter 支持的一些常用指标和参数,可以通过访问 /metrics 路径来获取更多的指标信息

node-exporter 有哪些指标对应的指标参数。解释下

原文地址: https://www.cveoy.top/t/topic/cTXD 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录