feat: pipeline monitor + orchestrator stats dashboard

This commit is contained in:
Ubuntu
2026-05-11 10:55:44 +00:00
parent e597407ee5
commit 1a4fffd2c1
6 changed files with 182 additions and 1 deletions

View File

@@ -12,6 +12,33 @@
</div>
</div>
{% if orchestrator %}
<div class="worker {% if not orchestrator.online %}offline{% endif %}" style="margin-bottom:0.75rem">
<div class="hdr">
<b>{{ orchestrator.role }}</b>
<span class="gpu">orchestrateur</span>
<span class="state">{% if orchestrator.online %}online{% else %}offline{% endif %}</span>
</div>
{% if orchestrator.online %}
<div class="bar">
<span>CPU</span>
<span style="font-size:0.8rem;color:var(--accent)">{{ orchestrator.cpu_load or '?' }}</span>
</div>
<div class="bar">
<span>RAM</span>
<progress value="{{ orchestrator.ram_used_mib or 0 }}" max="{{ orchestrator.ram_total_mib or 1 }}"></progress>
<small>{{ orchestrator.ram_used_mib or '?' }} / {{ orchestrator.ram_total_mib or '?' }} MiB</small>
</div>
<div class="worker-meta">
<span class="tag muted">SSD {{ orchestrator.ssd_avail }} dispo</span>
<span class="tag muted">{{ orchestrator.ssd_used_pct }} utilise</span>
</div>
{% else %}
<div class="err">{{ orchestrator.error or "unreachable" }}</div>
{% endif %}
</div>
{% endif %}
<div class="worker-grid">
{% for w in workers %}
<div class="worker {% if not w.online %}offline{% endif %}">