From 702ab87109fbdaaadb2bc64a34d564df6e26a33e Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Tue, 3 Feb 2026 14:40:00 -0300 Subject: [PATCH] route: force metrics for readiness/postgres --- atlasbot/engine/answerer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atlasbot/engine/answerer.py b/atlasbot/engine/answerer.py index 72b0421..c930db1 100644 --- a/atlasbot/engine/answerer.py +++ b/atlasbot/engine/answerer.py @@ -219,6 +219,8 @@ class AnswerEngine: _debug_log("route_parsed", {"classify": classify, "normalized": normalized}) lowered_question = f"{question} {normalized}".lower() force_metric = bool(re.search(r"\bhow many\b|\bcount\b|\btotal\b", lowered_question)) + if any(term in lowered_question for term in ("postgres", "connections", "pvc", "ready")): + force_metric = True cluster_terms = ( "atlas", "cluster",