disk usage graphs

This commit is contained in:
mwiegand 2021-10-27 19:02:07 +02:00
parent e5b1bc0921
commit ef461fec1c
2 changed files with 44 additions and 1 deletions

View file

@ -46,7 +46,12 @@ defaults = {
'memory_rss', 'memory_rss',
], ],
}], }],
'diskio': [{}], 'diskio': [{
'fieldpass': [
'read_bytes',
'write_bytes',
],
}],
'kernel': [{}], 'kernel': [{}],
'mem': [{}], 'mem': [{}],
'processes': [{}], 'processes': [{}],
@ -60,6 +65,7 @@ defaults = {
'cpu', 'cpu',
'mem', 'mem',
'disk_io', 'disk_io',
'disk_usage',
'net_io', 'net_io',
'proc_cpu', 'proc_cpu',
'proc_ram', 'proc_ram',

View file

@ -0,0 +1,37 @@
{
'root_usage': {
'stacked': True,
'queries': {
'usage': {
'filters': {
'_measurement': 'disk',
'path': '/',
'_field': [
'used',
'free',
],
},
'function': 'mean',
},
},
'min': 0,
'unit': 'bytes',
},
'root_inodes': {
'stacked': True,
'queries': {
'inodes': {
'filters': {
'_measurement': 'disk',
'path': '/',
'_field': [
'inodes_used',
'inodes_free',
],
},
'function': 'mean',
},
},
'min': 0,
},
}