/mackerel-plugin-pg-table-count

PostgreSQL Table Count plugin for mackerel.io agent

Primary LanguageGoApache License 2.0Apache-2.0

mackerel-plugin-pg-table-count Build Status

PostgreSQL Table Count 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-pg-table-count

Synopsis

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

Example of mackerel-agent.conf

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