Prometheus Node_exporter 之 FileSystem Detail

FileSystem Detail /proc/filesystems

1. Filesystem space available

type: Graph
Unit: bytes
Label: Bytes
{{mountpoint}} - 挂载的文件系统可用空间

metrics:

node_filesystem_avail_bytes{instance=~"$node:$port",job=~"$job",device!~'rootfs'}


{{mountpoint}} - 挂载的文件系统剩余空间

metrics:

node_filesystem_free_bytes{instance=~"$node:$port",job=~"$job",device!~'rootfs'}


{{mountpoint}} - 挂载的文件系统占用空间

metrics:

node_filesystem_size_bytes{instance=~"$node:$port",job=~"$job",device!~'rootfs'}


2. File Nodes Free

type: Graph
Unit: short
Label: File Nodes
{{mountpoint}} - 挂载的文件系统空闲的文件节点个数

metrics:

node_filesystem_files_free{instance=~"$node:$port",job=~"$job",device!~'rootfs'}


3. File Descriptor

type: Graph
Unit: short
Label: Files
最大打开文件描述符数:

metrics:

node_filefd_maximum{instance=~"$node:$port",job=~"$job"}


打开文件描述符数:

metrics:

node_filefd_allocated{instance=~"$node:$port",job=~"$job"}


4. File Nodes Size

type: Graph
Unit: short
Label: File Nodes
{{mountpoint}} - File nodes total:挂载的文件系统的文件节点大小

metrics:

node_filesystem_files{instance=~"$node:$port",job=~"$job",device!~'rootfs'}


5. Filesystem in ReadOnly

type: Graph
Unit: short
Label: Read Only
{{mountpoint}} - ReadOnly 只读模式挂载的文件系统

metrics:

node_filesystem_readonly{instance=~"$node:$port",job=~"$job",device!~'rootfs'}

posted @ 2019-03-16 16:00  浅雨凉  阅读(6618)  评论(0编辑  收藏  举报