atlasbot: make insights sound more human

This commit is contained in:
Brad Stein 2026-01-27 18:51:00 -03:00
parent c4ad82f122
commit 79650616f1
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ spec:
labels:
app: atlasbot
annotations:
checksum/atlasbot-configmap: manual-atlasbot-57
checksum/atlasbot-configmap: manual-atlasbot-58
vault.hashicorp.com/agent-inject: "true"
vault.hashicorp.com/role: "comms"
vault.hashicorp.com/agent-inject-secret-turn-secret: "kv/data/atlas/comms/turn-shared-secret"

View File

@ -1729,9 +1729,9 @@ def _format_insight_text(key: str, text: str) -> str:
return f"Postgres is at {detail}; that suggests moderate load."
if key == "pods":
detail = cleaned.replace("There are ", "")
return f"Pods look stable with {detail}."
return f"Pods look steady ({detail}); the workload mix looks healthy."
if key == "availability":
return cleaned + "."
return cleaned + " That suggests the cluster is stable right now."
if key in ("cpu", "ram"):
suffix = (
" If you're chasing hotspots, that's the busiest workload right now."