Add configuration docs to Postgresql input plugin (#2515)

* Add configuration docs to Postgresql input plugin

Add configuration docs to PostgreSQL input plugin README (mostly from the source code) though I've not included the configuration example that seems to use all he connections on the database[1].

[1] https://github.com/influxdata/telegraf/issues/2410

* Fix typo in readme and sampleConfig string.
This commit is contained in:
Dennis Dryden
2017-03-09 11:19:03 +00:00
committed by Cameron Sparr
parent ae6a5d2255
commit d243d69a09
2 changed files with 23 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ var sampleConfig = `
# ignored_databases = ["postgres", "template0", "template1"]
## A list of databases to pull metrics about. If not specified, metrics for all
## databases are gathered. Do NOT use with the 'ignore_databases' option.
## databases are gathered. Do NOT use with the 'ignored_databases' option.
# databases = ["app_production", "testing"]
`