feat(host_agent): register widgets and alert metric catalog entry

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-14 22:31:31 -04:00
parent ded768c089
commit f7e21c0a21
2 changed files with 36 additions and 0 deletions
+4
View File
@@ -22,6 +22,10 @@ METRIC_CATALOG: dict[str, list[str]] = {
"unifi": ["is_up", "latency_ms", "total_clients"],
"docker": ["cpu_pct", "mem_pct"],
"http": ["is_up", "response_ms"],
"host_agent": [
"cpu_pct", "mem_used_pct", "mem_available_bytes", "swap_used_bytes",
"disk_used_pct_worst", "load_1m", "load_5m", "load_15m", "uptime_secs",
],
# snmp metrics are user-defined OID labels — populated dynamically from plugin_metrics
"snmp": [],
}