Automation
pgmetrics {options..} {dbs..} | pgdash prod-23Avoiding Password Prompt
Collecting and Reporting Metrics Periodically
#!/bin/sh
while true
do
pgmetrics {options..} {dbs..} | pgdash -a APIKEY report NAME
sleep 300
doneLast updated