From 54efa8ddd5d078899e5a07c5d6593c22dc21f43c Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 13 Sep 2018 16:31:31 -0700 Subject: [PATCH] Full markup for time series metrics --- ui/app/templates/clients/client.hbs | 40 +++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/ui/app/templates/clients/client.hbs b/ui/app/templates/clients/client.hbs index 885fd4989..4e251ff7f 100644 --- a/ui/app/templates/clients/client.hbs +++ b/ui/app/templates/clients/client.hbs @@ -85,11 +85,47 @@
CPU - {{stats-time-series data=stats.cpu chartClass="is-info"}} +
+ {{stats-time-series data=stats.cpu chartClass="is-info"}} +
+
+
+
+ + {{stats.cpu.lastObject.percent}} + +
+
+
+ {{format-percentage stats.cpu.lastObject.percent total=1}} +
+
+ {{stats.cpu.lastObject.used}} Mhz / {{stats.reservedCPU}} Mhz reserved
Memory - {{stats-time-series data=stats.memory chartClass="is-danger"}} +
+ {{stats-time-series data=stats.memory chartClass="is-danger"}} +
+
+
+
+ + {{stats.memory.lastObject.percent}} + +
+
+
+ {{format-percentage stats.memory.lastObject.percent total=1}} +
+
+ {{format-bytes stats.memory.lastObject.used}} MiB / {{stats.reservedMemory}} MiB reserved