From c56a969e01dff986e8cdfe604cd11225ef13068c Mon Sep 17 00:00:00 2001 From: Seth Samuel Date: Wed, 19 Aug 2026 15:00:44 -0400 Subject: [PATCH 1/3] Clarify Postgres spec usage of ignore_databases --- postgres/assets/configuration/spec.yaml | 2 ++ postgres/datadog_checks/postgres/data/conf.yaml.example | 2 ++ 2 files changed, 4 insertions(+) diff --git a/postgres/assets/configuration/spec.yaml b/postgres/assets/configuration/spec.yaml index ab5a01d10a3ec..8a58a612a4b3f 100644 --- a/postgres/assets/configuration/spec.yaml +++ b/postgres/assets/configuration/spec.yaml @@ -241,6 +241,8 @@ files: A list of databases to ignore. No metrics or statement samples will be collected for these databases. Each value can be a plain string or a Postgres pattern. If you want to ignore the postgres database, set collect_default_database to false in addition to adding it to this array. + This setting does not apply to schema collection or autodiscovery; instead use the specific + include/exclude settings nested under those configurations. For more information on how patterns work, see https://www.postgresql.org/docs/12/functions-matching.html value: type: array diff --git a/postgres/datadog_checks/postgres/data/conf.yaml.example b/postgres/datadog_checks/postgres/data/conf.yaml.example index a2ee227ddd4d1..30f3d4939596f 100644 --- a/postgres/datadog_checks/postgres/data/conf.yaml.example +++ b/postgres/datadog_checks/postgres/data/conf.yaml.example @@ -176,6 +176,8 @@ instances: ## A list of databases to ignore. No metrics or statement samples will be collected for these databases. ## Each value can be a plain string or a Postgres pattern. If you want to ignore the postgres database, ## set collect_default_database to false in addition to adding it to this array. + ## This setting does not apply to schema collection or autodiscovery; instead use the specific + ## include/exclude settings nested under those configurations. ## For more information on how patterns work, see https://www.postgresql.org/docs/12/functions-matching.html # # ignore_databases: From 36b8fe506e4aaf45f8c193738615aeeb7eced363 Mon Sep 17 00:00:00 2001 From: Seth Samuel Date: Wed, 19 Aug 2026 15:01:57 -0400 Subject: [PATCH 2/3] Update --- postgres/assets/configuration/spec.yaml | 4 ++-- postgres/datadog_checks/postgres/data/conf.yaml.example | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/postgres/assets/configuration/spec.yaml b/postgres/assets/configuration/spec.yaml index 8a58a612a4b3f..f216121cf7fa6 100644 --- a/postgres/assets/configuration/spec.yaml +++ b/postgres/assets/configuration/spec.yaml @@ -241,8 +241,8 @@ files: A list of databases to ignore. No metrics or statement samples will be collected for these databases. Each value can be a plain string or a Postgres pattern. If you want to ignore the postgres database, set collect_default_database to false in addition to adding it to this array. - This setting does not apply to schema collection or autodiscovery; instead use the specific - include/exclude settings nested under those configurations. + This setting does not apply to schema collection, column statistics, or autodiscovery; instead use + the specific include/exclude settings nested under those configurations. For more information on how patterns work, see https://www.postgresql.org/docs/12/functions-matching.html value: type: array diff --git a/postgres/datadog_checks/postgres/data/conf.yaml.example b/postgres/datadog_checks/postgres/data/conf.yaml.example index 30f3d4939596f..ea2ea75c33208 100644 --- a/postgres/datadog_checks/postgres/data/conf.yaml.example +++ b/postgres/datadog_checks/postgres/data/conf.yaml.example @@ -176,8 +176,8 @@ instances: ## A list of databases to ignore. No metrics or statement samples will be collected for these databases. ## Each value can be a plain string or a Postgres pattern. If you want to ignore the postgres database, ## set collect_default_database to false in addition to adding it to this array. - ## This setting does not apply to schema collection or autodiscovery; instead use the specific - ## include/exclude settings nested under those configurations. + ## This setting does not apply to schema collection, column statistics, or autodiscovery; instead use + ## the specific include/exclude settings nested under those configurations. ## For more information on how patterns work, see https://www.postgresql.org/docs/12/functions-matching.html # # ignore_databases: From 5b5e19cff9670a7aadfc1d24dbaefeee53287b24 Mon Sep 17 00:00:00 2001 From: Seth Samuel Date: Wed, 19 Aug 2026 15:05:39 -0400 Subject: [PATCH 3/3] Changelog --- postgres/changelog.d/24922.added | 1 + 1 file changed, 1 insertion(+) create mode 100644 postgres/changelog.d/24922.added diff --git a/postgres/changelog.d/24922.added b/postgres/changelog.d/24922.added new file mode 100644 index 0000000000000..3abff839ec025 --- /dev/null +++ b/postgres/changelog.d/24922.added @@ -0,0 +1 @@ +Clarify Postgres spec usage of ignore_databases