Document port specification in postgres input plugins (#7132)

This commit is contained in:
Harshit Bansal
2020-03-11 00:32:50 +05:30
committed by GitHub
parent dfa4d1bf8e
commit 1ce56f8b59
4 changed files with 19 additions and 19 deletions

View File

@@ -12,10 +12,10 @@ More information about the meaning of these metrics can be found in the
```toml
[[inputs.pgbouncer]]
## specify address via a url matching:
## postgres://[pqgotest[:password]]@localhost[/dbname]\
## postgres://[pqgotest[:password]]@host:port[/dbname]\
## ?sslmode=[disable|verify-ca|verify-full]
## or a simple string:
## host=localhost user=pqotest password=... sslmode=... dbname=app_production
## host=localhost port=5432 user=pqotest password=... sslmode=... dbname=app_production
##
## All connection parameters are optional.
##
@@ -30,7 +30,7 @@ Specify address via a postgresql connection string:
Or via an url matching:
`postgres://[pqgotest[:password]]@localhost[/dbname]?sslmode=[disable|verify-ca|verify-full]`
`postgres://[pqgotest[:password]]@host:port[/dbname]?sslmode=[disable|verify-ca|verify-full]`
All connection parameters are optional.