Fix the resource naming in the UI (#9927)
Use proper English for the UI representation without breaking the component.pull/9706/head^2
parent
382f9a8f49
commit
f5b305c980
|
@ -28,16 +28,16 @@ DEFAULT_PORT = '61208'
|
|||
MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=1)
|
||||
|
||||
SENSOR_TYPES = {
|
||||
'disk_use_percent': ['Disk Use', '%'],
|
||||
'disk_use': ['Disk Use', 'GiB'],
|
||||
'disk_free': ['Disk Free', 'GiB'],
|
||||
'memory_use_percent': ['RAM Use', '%'],
|
||||
'memory_use': ['RAM Use', 'MiB'],
|
||||
'memory_free': ['RAM Free', 'MiB'],
|
||||
'swap_use_percent': ['Swap Use', '%'],
|
||||
'swap_use': ['Swap Use', 'GiB'],
|
||||
'swap_free': ['Swap Free', 'GiB'],
|
||||
'processor_load': ['CPU Load', '15 min'],
|
||||
'disk_use_percent': ['Disk used', '%'],
|
||||
'disk_use': ['Disk used', 'GiB'],
|
||||
'disk_free': ['Disk free', 'GiB'],
|
||||
'memory_use_percent': ['RAM used', '%'],
|
||||
'memory_use': ['RAM used', 'MiB'],
|
||||
'memory_free': ['RAM free', 'MiB'],
|
||||
'swap_use_percent': ['Swap used', '%'],
|
||||
'swap_use': ['Swap used', 'GiB'],
|
||||
'swap_free': ['Swap free', 'GiB'],
|
||||
'processor_load': ['CPU load', '15 min'],
|
||||
'process_running': ['Running', 'Count'],
|
||||
'process_total': ['Total', 'Count'],
|
||||
'process_thread': ['Thread', 'Count'],
|
||||
|
|
Loading…
Reference in New Issue