Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- init_config:
- instances:
- - host: rds.amazonaws.com
- port: 5432
- username: ddagent
- password: password
- dbname: postgres
- tags:
- - dbinstanceidentifier:$CSR_CN-postgres
- #All index scans & reads
- custom_metrics:
- - # test postgres db
- descriptors:
- - [nspname, nspname]
- metrics:
- nspname: [my.nspname, GAUGE]
- query: SELECT nspname, %s from pg_catalog.pg_namespace;
- relation: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement