Full markup for time series metrics
This commit is contained in:
parent
93cf97a47b
commit
54efa8ddd5
|
@ -85,12 +85,48 @@
|
|||
<div class="columns">
|
||||
<div class="column">
|
||||
CPU
|
||||
<div style="height: 200px">
|
||||
{{stats-time-series data=stats.cpu chartClass="is-info"}}
|
||||
</div>
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<div class="inline-chart">
|
||||
<progress
|
||||
class="progress is-info is-small"
|
||||
value="{{stats.cpu.lastObject.percent}}"
|
||||
max="1">
|
||||
{{stats.cpu.lastObject.percent}}
|
||||
</progress>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column is-minimum">
|
||||
{{format-percentage stats.cpu.lastObject.percent total=1}}
|
||||
</div>
|
||||
</div>
|
||||
{{stats.cpu.lastObject.used}} Mhz / {{stats.reservedCPU}} Mhz reserved
|
||||
</div>
|
||||
<div class="column">
|
||||
Memory
|
||||
<div style="height: 200px">
|
||||
{{stats-time-series data=stats.memory chartClass="is-danger"}}
|
||||
</div>
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<div class="inline-chart">
|
||||
<progress
|
||||
class="progress is-danger is-small"
|
||||
value="{{stats.memory.lastObject.percent}}"
|
||||
max="1">
|
||||
{{stats.memory.lastObject.percent}}
|
||||
</progress>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column is-minimum">
|
||||
{{format-percentage stats.memory.lastObject.percent total=1}}
|
||||
</div>
|
||||
</div>
|
||||
{{format-bytes stats.memory.lastObject.used}} MiB / {{stats.reservedMemory}} MiB reserved
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue