Enable pg_stat_statements on the authentik postgres cluster #475

Merged
benvin merged 1 commits from benvin/authentik-pg-stat-statements into main 2026-09-19 14:48:46 +10:00

1 Commits

Author SHA1 Message Date
unkin-agent 162eff41d5 Enable pg_stat_statements on the authentik postgres cluster
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
The cluster preloads no statement-statistics library, so there is no
per-query cost attribution and slow paths have to be inferred from
application-side metrics.

- preload pg_stat_statements
- set pg_stat_statements.max and .track so CNPG manages the extension
  and creates it in every database

Requires a postgres restart.
2026-09-19 14:43:55 +10:00