:large_orange_circle: LOW SEV · API Database Query...
# alarms-prod
a
🟠 LOW SEV · API Database Query Errors 🔥 ozone-api SQL statements are failing <|📈 graph> · <|📊 service dashboard> · :rotating_light: alarm definition · :no_bell: silence _The query-error hook from logDbError — an individual statement failed. A constraint violation, a bad query from new code, or a schema and code mismatch after a deploy. Each one 500s a single request and is already captured to PostHog. Deliberately separate from 'API Database Unreachable', which watches the pool hooks (createFail, acquireFail) and pages. This one is a code problem, not an infrastructure one. A burst immediately after a deploy usually means a migration and the code reading it are out of step — check whether the expand/contract steps went out in the right order. PostHog has the failing statement._ Grafana vmain-612d1ea