/mackerel-plugin-postgres-table

PostgreSQL Table plugin for mackerel.io agent

Primary LanguageGoApache License 2.0Apache-2.0

mackerel-plugin-postgres-table Build Status

PostgreSQL Table plugin for mackerel.io agent. This repository releases an artifact to Github Releases, which satisfy the format for mkr plugin installer.

Install

mkr plugin install y-kuno/mackerel-plugin-postgres-table 

Synopsis

mackerel-plugin-postgres-table [-host=<host>] [-port=<port>] [-user=<user>] [-password=<password>] [-database=<databasename>] [-option=<option>] [-sslmode=<sslmode>] [-metric-key-prefix=<prefix>]

Example of mackerel-agent.conf

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

Documents