Created
December 28, 2018 16:20
-
-
Save boxysean/4b97f73986044a8e8a5d0aa7f7696419 to your computer and use it in GitHub Desktop.
datadog-postgres-example.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init_config: null | |
instances: | |
- collect_activity_metrics: true | |
collect_default_database: true | |
collect_function_metrics: true | |
dbname: mydb | |
host: main-database.example.com | |
password: mypassword | |
port: 5432 | |
relations: null | |
tags: | |
- datadog:monitored | |
- dbinstanceidentifier:main-database | |
- app:postgres | |
username: datadog | |
- collect_activity_metrics: true | |
collect_default_database: true | |
collect_function_metrics: true | |
dbname: mydb | |
host: replica-1.example.com | |
password: mypassword | |
port: 5432 | |
relations: null | |
tags: | |
- datadog:monitored | |
- dbinstanceidentifier:replica-1 | |
- app:postgres | |
username: datadog | |
- collect_activity_metrics: true | |
collect_default_database: true | |
collect_function_metrics: true | |
dbname: mydb | |
host: replica-2.example.com | |
password: mypassword | |
port: 5432 | |
relations: null | |
tags: | |
- datadog:monitored | |
- dbinstanceidentifier:replica-2 | |
- app:postgres | |
username: datadog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment