bundlewrap/data/grafana/rows/cpu.py
2022-06-16 01:23:50 +02:00

38 lines
939 B
Python

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