resolver: add upstream cooldown + expose live vs suppressed unresolved

This commit is contained in:
beckline
2026-02-25 10:11:28 +03:00
parent e8fb361b4c
commit 29dde73f04
3 changed files with 204 additions and 13 deletions

View File

@@ -666,6 +666,7 @@ class DashboardController:
q_hits = int(pairs.get("quarantine_hits", 0))
dns_attempts = int(pairs.get("dns_attempts", 0))
dns_timeout = int(pairs.get("dns_timeout", 0))
dns_cooldown_skips = int(pairs.get("dns_cooldown_skips", 0))
r_checked = int(pairs.get("timeout_recheck_checked", 0))
r_recovered = int(pairs.get("timeout_recheck_recovered", 0))
@@ -678,7 +679,8 @@ class DashboardController:
f"Resolve: ips={unique_ips} (direct={direct_ips}, wildcard={wildcard_ips}, "
f"+recheck_ips={r_recovered_ips}) | unresolved={unresolved} "
f"(live={unresolved_live}, suppressed={unresolved_suppressed}) | "
f"quarantine_hits={q_hits} | dns_timeout={dns_timeout} | attempts={dns_attempts}"
f"quarantine_hits={q_hits} | dns_timeout={dns_timeout} "
f"| cooldown_skips={dns_cooldown_skips} | attempts={dns_attempts}"
)
recheck_text = (
f"Timeout recheck: checked={r_checked} recovered={r_recovered} "