summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/postgres/postgres.conf
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/python.d.plugin/postgres/postgres.conf')
-rw-r--r--collectors/python.d.plugin/postgres/postgres.conf9
1 files changed, 6 insertions, 3 deletions
diff --git a/collectors/python.d.plugin/postgres/postgres.conf b/collectors/python.d.plugin/postgres/postgres.conf
index 4c4d5d1af..3dd461408 100644
--- a/collectors/python.d.plugin/postgres/postgres.conf
+++ b/collectors/python.d.plugin/postgres/postgres.conf
@@ -63,6 +63,10 @@
#
# Connections can be configured with the following options:
#
+# dsn : 'connection URI' # see https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
+#
+# OR
+#
# database : 'example_db_name'
# user : 'example_user'
# password : 'example_pass'
@@ -70,14 +74,14 @@
# port : 5432
# connect_timeout : 2 # in seconds, default is 2
# statement_timeout : 2000 # in ms, default is 2000
-#
-# SSL connection parameters (https://www.postgresql.org/docs/current/libpq-ssl.html)
# sslmode : mode # one of [disable, allow, prefer, require, verify-ca, verify-full]
# sslrootcert : path/to/rootcert # the location of the root certificate file
# sslcrl : path/to/crl # the location of the CRL file
# sslcert : path/to/cert # the location of the client certificate file
# sslkey : path/to/key # the location of the client key file
#
+# SSL connection parameters description: https://www.postgresql.org/docs/current/libpq-ssl.html
+#
# Additionally, the following options allow selective disabling of charts
#
# table_stats : false
@@ -128,4 +132,3 @@ tcpipv6:
user : 'postgres'
host : '::1'
port : 5432
-