QuerySentry
QuerySentry is a web app (with optional Slack/Teams alerts) that monitors cloud database query behavior and cost signals in near real time, then automatically flags and optionally blocks “runaway” patterns: missing WHERE clauses, accidental cross joins, N+1 explosions, bad index usage, and sudden cardinality shifts. It connects read-only to supported providers (start with Postgres on AWS RDS/Aurora and Google Cloud SQL) and builds a baseline per service, endpoint, and user. When anomalies appear, it generates a short incident report: the exact SQL, the app/service that issued it, estimated cost impact, and the safest mitigation (kill query, throttle role, add statement_timeout, or suggest an index). This is a combination traditional + AI app: deterministic rules for safety, plus an LLM to summarize and propose fixes. It’s not a full APM replacement; it’s a focused “query fire alarm.”