diff --git a/postgres/assets/configuration/spec.yaml b/postgres/assets/configuration/spec.yaml index f43d0ce14364d..01684dc640bbb 100644 --- a/postgres/assets/configuration/spec.yaml +++ b/postgres/assets/configuration/spec.yaml @@ -17,8 +17,8 @@ files: options: - name: host description: | - The hostname to connect to. To connect to a Unix socket, specify the full path to the socket file, - e.g. `/var/run/postgresql/.s.PGSQL.5432`. + The hostname to connect to. To connect to a Unix socket, specify the full path to the socket directory, + e.g. `/var/run/postgresql`. value: type: string display_default: "localhost" diff --git a/postgres/changelog.d/22200.fixed b/postgres/changelog.d/22200.fixed new file mode 100644 index 0000000000000..e5af12bd65ec0 --- /dev/null +++ b/postgres/changelog.d/22200.fixed @@ -0,0 +1 @@ +Correct postgres Unix socket path example in conf.yaml.example diff --git a/postgres/datadog_checks/postgres/data/conf.yaml.example b/postgres/datadog_checks/postgres/data/conf.yaml.example index b45c50e7ec911..3eeff63bcf0f3 100644 --- a/postgres/datadog_checks/postgres/data/conf.yaml.example +++ b/postgres/datadog_checks/postgres/data/conf.yaml.example @@ -33,8 +33,8 @@ instances: - ## @param host - string - optional - default: localhost - ## The hostname to connect to. To connect to a Unix socket, specify the full path to the socket file, - ## e.g. `/var/run/postgresql/.s.PGSQL.5432`. + ## The hostname to connect to. To connect to a Unix socket, specify the full path to the socket directory, + ## e.g. `/var/run/postgresql`. # # host: