diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-01 22:08:04 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-01 22:08:04 +0100 |
| commit | 92b951df1d02e609907dc3f69703ac544fde692c (patch) | |
| tree | 644f7f0ee34fdda1b2347630aefba99a1953544e /frontend/src/util | |
| parent | 42470f1e50e1ca98868f53a70604ae56829d570b (diff) | |
Show full metric names
This change updates the frontend such that metrics are now shown by
their full name instead of a code.
Diffstat (limited to 'frontend/src/util')
| -rw-r--r-- | frontend/src/util/available-metrics.js | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/frontend/src/util/available-metrics.js b/frontend/src/util/available-metrics.js index ed11f5f7..807bc0c1 100644 --- a/frontend/src/util/available-metrics.js +++ b/frontend/src/util/available-metrics.js @@ -15,7 +15,7 @@ export const AVAILABLE_METRICS = [ 'total_vms_failed', ] -export const METRIC_NAMES = { +export const METRIC_NAMES_SHORT = { total_overcommitted_burst: 'Overcomm. CPU Cycles', total_granted_burst: 'Granted CPU Cycles', total_requested_burst: 'Requested CPU Cycles', @@ -32,6 +32,23 @@ export const METRIC_NAMES = { total_vms_failed: 'Max. Num. VMs Failed', } +export const METRIC_NAMES = { + total_overcommitted_burst: 'Overcommitted 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 Number of Deployed Images Per Host', + max_num_deployed_images: 'Maximum Number Deployed Images Per Host', + total_failure_vm_slices: 'Total Number Failed VM Slices', + total_vms_submitted: 'Total Number VMs Submitted', + total_vms_queued: 'Maximum Number VMs Queued', + total_vms_finished: 'Maximum Number VMs Finished', + total_vms_failed: 'Maximum Number VMs Failed', +} + export const METRIC_UNITS = { total_overcommitted_burst: 'MFLOP', total_granted_burst: 'MFLOP', |
