bundlewrap/data/grafana/rows/cpu.py
mwiegand 710b30792d wip
2021-07-04 22:02:25 +02:00

35 lines
862 B
Python

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