anryko / grafana-influx-dashboard

Grafana InfluxDB scripted dashboard
MIT License
132 stars 44 forks source link

Add postgesql collectd plugin support #22

Closed anryko closed 8 years ago

anryko commented 8 years ago

I realised that my postgresql collectd config is uniq and no one will ever reuse my getdash plugin. So I'll just close this issue... :)

anryko commented 8 years ago

I'll add support for:

The following predefined queries are available (the definitions can be found in the postgresql_default.conf file which, by default, is available at prefix/share/collectd/):
backends
    This query collects the number of backends, i. e. the number of connected clients.
transactions
    This query collects the numbers of committed and rolled-back transactions of the user tables.
queries
    This query collects the numbers of various table modifications (i. e. insertions, updates, deletions) of the user tables.
query_plans
    This query collects the numbers of various table scans and returned tuples of the user tables.
table_states
    This query collects the numbers of live and dead rows in the user tables.
disk_io
    This query collects disk block access counts for user tables.
disk_usage
    This query collects the on-disk size of the database in bytes.
anryko commented 8 years ago

Done https://github.com/anryko/grafana-influx-dashboard/commit/16fba9a2e294f9f021dec62b02e7a94372041a5a