{% extends "base.html" %} {% from "_macros.html" import crumbs %} {% block title %}{{ host.name }} — Metrics — Steward{% endblock %} {% block breadcrumb %}{{ crumbs([("Hosts", "/hosts/"), (host.name, "/hosts/" ~ host.id), ("Metrics", "")]) }}{% endblock %} {% block content %} {# Shell only: the current-state and history-chart sections stream in via HTMX below, so the heavy history query never blocks first paint and the data refreshes live (≈ the agent's push cadence) without a full reload. #}

{{ host.name }}

{% include "_time_range.html" %}
{# Current state — lazy + polled live (latest snapshot the server holds). #}
Loading metrics…
{# History charts — lazy (never blocks paint), refreshed on a slow cadence and on range change; range comes from the shared #time-range input. #}
Loading charts…
{% endblock %}