Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration docs to Postgresql input plugin #2515

Merged
merged 2 commits into from
Mar 9, 2017
Merged

Add configuration docs to Postgresql input plugin #2515

merged 2 commits into from
Mar 9, 2017

Conversation

ddryden
Copy link
Contributor

@ddryden ddryden commented Mar 8, 2017

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] #2410

Required for all PRs:

  • CHANGELOG.md updated (we recommend not updating this until the PR has been approved by a maintainer)
  • Sign CLA (if not already signed)
  • README.md updated (if adding a new 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] #2410
All connection parameters are optional. Without the dbname parameter, the driver will default to a database with the same name as the user. This dbname is just for instantiating a connection with the server and doesn't restrict the databases we are trying
to grab metrics for.

`address = "host=localhost user=postgres sslmode=disable"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

though I've not included the configuration example that seems to use all he connections on the database[1]

I think you've included it here?


`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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in ignored_databases

@ddryden
Copy link
Contributor Author

ddryden commented Mar 9, 2017

Thanks for pointing out the errors, should be fixed now.

@sparrc
Copy link
Contributor

sparrc commented Mar 9, 2017

thanks!

@sparrc sparrc merged commit d243d69 into influxdata:master Mar 9, 2017
ssorathia pushed a commit to ssorathia/telegraf that referenced this pull request Mar 25, 2017
* 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] influxdata#2410

* Fix typo in readme and sampleConfig string.
calerogers pushed a commit to calerogers/telegraf that referenced this pull request Apr 5, 2017
* 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] influxdata#2410

* Fix typo in readme and sampleConfig string.
vlamug pushed a commit to vlamug/telegraf that referenced this pull request May 30, 2017
* 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] influxdata#2410

* Fix typo in readme and sampleConfig string.
maxunt pushed a commit that referenced this pull request Jun 26, 2018
* 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] #2410

* Fix typo in readme and sampleConfig string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants