• 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'}

  • 相关阅读:
    騎士宣言
    [洛谷P1631] 序列合并
    [HNOI2006]公路修建问题
    [洛谷2068] 统计和
    [洛谷P1168] 中位数
    【模板】可持久化数组(可持久化线段树/平衡树)
    【模板】可持久化线段树 1(主席树)
    [JSOI2008]最大数maxnumber
    NOI导刊2010提高(06) 黑匣子
    [洛谷1533] 可怜的狗狗
  • 原文地址:https://www.cnblogs.com/qianyuliang/p/10542676.html
Copyright © 2020-2023  润新知