telegraf
Telegraf is the open source server agent to help you collect metrics from your stacks, sensors and systems.
Advanced PostgreSQL monitoring using Telegraf, InfluxDB, Grafana
Introduction This post will go through my experience with setting up some advanced monitoring for PostgreSQL database using Telegraf, InfluxDB, and Grafana (also known as the TIG stack), the problems I faced, and what I ended up doing at the end. What do I mean by advanced? I liked this

Telegraf: dynamically adding custom tags
Adding a custom tag to data coming in from an input plugin for telegraf