Tembo Postgres monitoring needs pg_stat_statements or it silently does nothing
Shows how to fix tembo Postgres monitoring needs pg_stat_statements or it silently does nothing. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Run CREATE EXTENSION IF NOT EXISTS pgstatstatements on any database you connect to Tembo's Postgres integration. Without the extension installed, slow query detection and missing-index suggestions silently do nothing.
Steps
- Run CREATE EXTENSION IF NOT EXISTS pgstatstatements on any database you connect to Tembo's Postgres integration. If slow queries are not being flagged, check the extension exists before debugging the integration itself.
When to use
You are seeing this: If slow queries are not being flagged, check the extension exists before debugging the integration itself. Use this skill when you run into "Tembo Postgres monitoring needs pgstatstatements or it silently does nothing".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.