Prometheus Node_exporter 之 Disk Datail /proc/diskstats

Disk Datail /proc/diskstats

1. Disk IOps Completed

type: Graph
Unit: I/O ops/sec(iops)
Label: IO read(-)/write(+)
{{device}} - Reads completed: 每一個磁盤分區每秒讀完成次數

metrics:

irate(node_disk_reads_completed_total{instance=~"$node:$port",job=~"$job"}[5m])


{{device}} - Writes completed: 每一個磁盤分區每秒寫完成次數

metrics:

irate(node_disk_writes_completed_total{instance=~"$node:$port",job=~"$job"}[5m])


node

2. Disk R/W Data

type: Graph
Unit: bytes/sec
Label: Bytes read(-)/write(+)
{{device}} - Read bytes 每一個磁盤分區每秒讀取的比特數

metrics:

irate(node_disk_read_bytes_total{instance=~"$node:$port",job=~"$job"}[5m])


{{device}} - Written bytes 每一個磁盤分區每秒寫入的比特數

metrics:

irate(node_disk_written_bytes_total{instance=~"$node:$port",job=~"$job"}[5m])


it

3. Disk R/W Time

type: Graph
Unit: Milliseconds(ms)
Label: Millisec. read(-)/write(+)
{{device}} - Read time ms 每一個磁盤分區讀花費的毫秒數

metrics:

irate(node_disk_read_time_seconds_total{instance=~"$node:$port",job=~"$job"}[5m])


{{device}} - Write time ms 每一個磁盤分區寫操做花費的毫秒數

metrics:

irate(node_disk_write_time_seconds_total{instance=~"$node:$port",job=~"$job"}[5m])


io

4. Disk IOs Weighted

type: Graph
Unit: Milliseconds(ms)
Label: Milliseconds
{{device}} - IO time weighted 每一個磁盤分區輸入/輸出操做花費的加權毫秒數

metrics:

irate(node_disk_io_time_weighted_seconds_total{instance=~"$node:$port",job=~"$job"}[5m])


file

5. Disk R/W Merged

type: Graph
Unit: I/O ops/sec(iops)
Label: I/Os
{{device}} - Read merged 每一個磁盤分區每秒合併讀完成次數

metrics:

irate(node_disk_reads_merged_total{instance=~"$node:$port",job=~"$job"}[5m])


{{device}} - Write merged 每一個磁盤分區每秒合併寫完成次數

metrics:

irate(node_disk_writes_merged_total{instance=~"$node:$port",job=~"$job"}[5m])


請求

6. Milliseconds Spent Doing I/Os

type: Graph
Unit: Milliseconds(ms)
Label: Milliseconds
{{device}} - IO time ms 每一個磁盤分區輸入/輸出操做花費的毫秒數

metrics:

irate(node_disk_io_time_seconds_total{instance=~"$node:$port",job=~"$job"}[5m])


im

7. Disk IOs Current in Progress

type: Graph
Unit: I/O ops/sec(iops)
Label: I/Os
{{device}} - IO now 每一個磁盤分區每秒正在處理的輸入/輸出請求數

metrics:

irate(node_disk_io_now{instance=~"$node:$port",job=~"$job"}[5m])


error

8. Open Error File

type: Graph
Unit: short
Label: Errors
Textfile scrape error (1 = true) 1若是打開或讀取文件時出錯,不然爲0

metrics:

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

di

相關文章
相關標籤/搜索