bundlewrap/data/grafana/rows/cpu.py
mwiegand 9ed91592f8 wip
2021-07-04 22:20:50 +02:00

35 lines
863 B
Python

{
'usage': {
'stacked': False,
'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',
},
},
},
}