36 lines
900 B
Python
36 lines
900 B
Python
{
|
|
'temperature': {
|
|
'queries': {
|
|
'usage': {
|
|
'filters': {
|
|
'_measurement': 'smartctl',
|
|
'_field': [
|
|
'temperature',
|
|
],
|
|
},
|
|
'function': 'mean',
|
|
},
|
|
},
|
|
'display_name': '__field.labels.device',
|
|
'min': 0,
|
|
'unit': 'celsius',
|
|
'tooltip': 'multi',
|
|
},
|
|
'power_level': {
|
|
'stacked': True,
|
|
'queries': {
|
|
'power_level': {
|
|
'filters': {
|
|
'_measurement': 'smartctl',
|
|
'_field': [
|
|
'power_level',
|
|
],
|
|
},
|
|
'function': 'last',
|
|
},
|
|
},
|
|
'display_name': '__field.labels.device',
|
|
'min': 0,
|
|
'tooltip': 'multi',
|
|
},
|
|
}
|