PostgreSQL custom metrics plugin for mackerel.io agent.
mackerel-plugin-postgres -user=<username> -password=<password> [-database=<databasename>] [-sslmode=<sslmode>] [-metric-key-prefix=<prefix>] [-connect_timeout=<timeout>]
-database
is optional.
[plugin.metrics.postgres]
command = "/path/to/mackerel-plugin-postgres -user=test -password=secret -database=databasename"