{# docker/_usage_history.html — CPU and memory over the selected range, for a service (summed across its replicas, #5302) or one container (#5310): the latest and the peak, over a line that spans its half. The line is drawn against at least cpu_floor / mem_floor, so idling near zero draws flat. #} {% from "docker/_usage.html" import cores %} {% if have_data %}
CPU
{{ cores(cpu_now) }} now · peak {{ cores(cpu_peak) }}
{{ spark_cpu|safe }}
Memory
{{ mem_now|bytes }} now · peak {{ mem_peak|bytes }}
{{ spark_mem|safe }}
{% else %}

Not enough samples in the last {{ range_key }} yet. History fills in as the agent reports.

{% endif %}