summaryrefslogtreecommitdiff
path: root/frontend/src/util
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-22 11:14:03 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:48:17 +0200
commit3c03c08f996c1cd2bc26bac7bb72a5e61cad6338 (patch)
treef25eae9e5295654f45e56271be8b7976228ec01e /frontend/src/util
parent2ed4052162e2fcfa49f55cdd7f77cc2595526169 (diff)
Add error bars
Diffstat (limited to 'frontend/src/util')
-rw-r--r--frontend/src/util/available-metrics.js31
1 files changed, 24 insertions, 7 deletions
diff --git a/frontend/src/util/available-metrics.js b/frontend/src/util/available-metrics.js
index 07f46456..ed11f5f7 100644
--- a/frontend/src/util/available-metrics.js
+++ b/frontend/src/util/available-metrics.js
@@ -16,13 +16,13 @@ export const AVAILABLE_METRICS = [
]
export const METRIC_NAMES = {
- total_overcommitted_burst: 'Overcomm. CPU Cycles [MFLOP]',
- total_granted_burst: 'Granted CPU Cycles [MFLOP]',
- total_requested_burst: 'Requested CPU Cycles [MFLOP]',
- total_interfered_burst: 'Interfered CPU Cycles [MFLOP]',
- total_power_draw: 'Total Power Consumption [Wh]',
- mean_cpu_usage: 'Mean Host CPU Usage [MHz]',
- mean_cpu_demand: 'Mean Host CPU Demand [MHz]',
+ total_overcommitted_burst: 'Overcomm. CPU Cycles',
+ total_granted_burst: 'Granted CPU Cycles',
+ total_requested_burst: 'Requested CPU Cycles',
+ total_interfered_burst: 'Interfered CPU Cycles',
+ total_power_draw: 'Total Power Consumption',
+ mean_cpu_usage: 'Mean Host CPU Usage',
+ mean_cpu_demand: 'Mean Host CPU Demand',
mean_num_deployed_images: 'Mean Num. Deployed Images Per Host',
max_num_deployed_images: 'Max. Num. Deployed Images Per Host',
total_failure_vm_slices: 'Total Num. Failed VM Slices',
@@ -31,3 +31,20 @@ export const METRIC_NAMES = {
total_vms_finished: 'Max. Num. VMs Finished',
total_vms_failed: 'Max. Num. VMs Failed',
}
+
+export const METRIC_UNITS = {
+ total_overcommitted_burst: 'MFLOP',
+ total_granted_burst: 'MFLOP',
+ total_requested_burst: 'MFLOP',
+ total_interfered_burst: 'MFLOP',
+ total_power_draw: 'Wh',
+ mean_cpu_usage: 'MHz',
+ mean_cpu_demand: 'MHz',
+ mean_num_deployed_images: 'VMs',
+ max_num_deployed_images: 'VMs',
+ total_failure_vm_slices: 'VM Slices',
+ total_vms_submitted: 'VMs',
+ total_vms_queued: 'VMs',
+ total_vms_finished: 'VMs',
+ total_vms_failed: 'VMs',
+}