Greatly reduce the metrics vmstat returns by default.
Vmstat has over 100 fields, most of which are highly detailed debug information. Trim this down to only essential fields by default, configurable by flag. Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
This commit is contained in:
parent
c8c144587e
commit
499c342fed
4 changed files with 156 additions and 4 deletions
|
|
@ -2739,6 +2739,7 @@ node_scrape_collector_success{collector="qdisc"} 1
|
|||
node_scrape_collector_success{collector="sockstat"} 1
|
||||
node_scrape_collector_success{collector="stat"} 1
|
||||
node_scrape_collector_success{collector="textfile"} 1
|
||||
node_scrape_collector_success{collector="vmstat"} 1
|
||||
node_scrape_collector_success{collector="wifi"} 1
|
||||
node_scrape_collector_success{collector="xfs"} 1
|
||||
node_scrape_collector_success{collector="zfs"} 1
|
||||
|
|
@ -2789,6 +2790,24 @@ node_sockstat_sockets_used 229
|
|||
# HELP node_textfile_scrape_error 1 if there was an error opening or reading a file, 0 otherwise
|
||||
# TYPE node_textfile_scrape_error gauge
|
||||
node_textfile_scrape_error 0
|
||||
# HELP node_vmstat_pgfault /proc/vmstat information field pgfault.
|
||||
# TYPE node_vmstat_pgfault untyped
|
||||
node_vmstat_pgfault 2.320168809e+09
|
||||
# HELP node_vmstat_pgmajfault /proc/vmstat information field pgmajfault.
|
||||
# TYPE node_vmstat_pgmajfault untyped
|
||||
node_vmstat_pgmajfault 507162
|
||||
# HELP node_vmstat_pgpgin /proc/vmstat information field pgpgin.
|
||||
# TYPE node_vmstat_pgpgin untyped
|
||||
node_vmstat_pgpgin 7.344136e+06
|
||||
# HELP node_vmstat_pgpgout /proc/vmstat information field pgpgout.
|
||||
# TYPE node_vmstat_pgpgout untyped
|
||||
node_vmstat_pgpgout 1.541180581e+09
|
||||
# HELP node_vmstat_pswpin /proc/vmstat information field pswpin.
|
||||
# TYPE node_vmstat_pswpin untyped
|
||||
node_vmstat_pswpin 1476
|
||||
# HELP node_vmstat_pswpout /proc/vmstat information field pswpout.
|
||||
# TYPE node_vmstat_pswpout untyped
|
||||
node_vmstat_pswpout 35045
|
||||
# HELP node_wifi_interface_frequency_hertz The current frequency a WiFi interface is operating at, in hertz.
|
||||
# TYPE node_wifi_interface_frequency_hertz gauge
|
||||
node_wifi_interface_frequency_hertz{device="wlan0"} 2.412e+09
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue