Ajout section Codex (conso 7j + statut limite) via dashboard Hermes

This commit is contained in:
jerem
2026-06-15 15:27:13 +02:00
parent 3191720776
commit 319ff3f552
5 changed files with 137 additions and 2 deletions

View File

@@ -77,6 +77,9 @@ class Config:
# --- NAS (moniteur maison nas_monitor, endpoint /api/status) ---
nas_url: str = field(default_factory=lambda: _get("MONITORINK_NAS_URL"))
# --- Codex / Hermes (dashboard agent maison, base URL ex http://host:9119) ---
hermes_url: str = field(default_factory=lambda: _get("MONITORINK_HERMES_URL"))
# --- Cache / rafraîchissement serveur ---
cache_ttl_seconds: int = field(
default_factory=lambda: int(_get("MONITORINK_CACHE_TTL", "120"))