Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
lib Enable connection without password Nov 27, 2018
README.md postgres: update README.md Jun 27, 2017
main.go ls | grep mackerel-plugin | xargs -L 1 perl tool/packagize.pl Nov 25, 2016

README.md

mackerel-plugin-postgres

PostgreSQL custom metrics plugin for mackerel.io agent.

Synopsis

mackerel-plugin-postgres -user=<username> -password=<password> [-database=<databasename>] [-sslmode=<sslmode>] [-metric-key-prefix=<prefix>] [-connect_timeout=<timeout>]

-database is optional.

Example of mackerel-agent.conf

[plugin.metrics.postgres]
command = "/path/to/mackerel-plugin-postgres -user=test -password=secret -database=databasename"

References