Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 639 Bytes

File metadata and controls

22 lines (15 loc) · 639 Bytes

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