bundlewrap/data/grafana/rows/cpu.py
mwiegand 7eff2aa76e wip
2021-07-04 22:55:43 +02:00

37 lines
901 B
Python

{
'usage': {
'stacked': False,
'queries': {
'usage': {
'filters': {
'_measurement': 'cpu',
'cpu': 'cpu-total',
'_field': [
'usage_iowait',
'usage_system',
'usage_user',
],
},
'function': 'mean',
},
},
'min': 0,
'max': 100,
},
'load': {
'stacked': False,
'queries': {
'load': {
'filters': {
'_measurement': 'system',
'_field': [
'load1',
'load5',
'load15',
],
},
'function': 'mean',
},
},
},
}