Skip to content

Instantly share code, notes, and snippets.

@lfittl
Last active October 3, 2017 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfittl/475cbd3d39a0a79959fb15b2871db73a to your computer and use it in GitHub Desktop.
Save lfittl/475cbd3d39a0a79959fb15b2871db73a to your computer and use it in GitHub Desktop.
Example of a more complex pganalyze collector config file. Please email team@pganalyze.com if you have any questions :)
[pganalyze]
api_key: your_pga_api_key
[mydb1]
db_host: yourdb.company.com
db_name: your_database_name
db_username: your_database_user
db_password: your_database_password
db_sslmode: verify-full
db_sslrootcert: rds-ca-2015-root
aws_db_instance_id: your_rds_instance
aws_region: us-west-2
aws_access_key_id: MY_ACCESS_KEY_ID
aws_secret_access_key: MY_SECRET_ACCESS_KEY
[mydb2]
db_host: yourotherdb.company.com
db_name: your_other_database_name
db_username: your_other_database_user
db_password: your_other_database_password
db_port: 8531
db_sslmode: disable
aws_db_instance_id: your_other_rds_instance
aws_region: ap-southeast-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment