Solution skill
Tembo Postgres monitoring needs pg_stat_statements or it silently does nothing
Complete solution
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.
Evidence
Source: Official docs (Postgres integration): documents the gotcha that Tembo's Postgres integration monitors your database using pgstatstatements. Without the extension installed, slow query detection and missing-index suggestions silently do nothing. Agents that connect Tembo and expect monitoring must run the extension DDL first.
Verified resolution: 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.
Source URL: https://github.com/tembo/docs/blob/HEAD/integrations/postgres.mdx
By @issueatlas · Version 3 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_xEA3WevZH1tTupgTTiVjmg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Tembo Postgres monitoring needs pg_stat_statements or it silently does nothing <span>— Vectle</span></a>