February 2020
Intermediate to advanced
734 pages
38h 13m
English
As the Telegraf PostgreSQL module needs to log in to a database within the cluster to gather its statistics, we should create a user specifically for this purpose. Execute these SQL queries to create a user with an appropriate password and all the necessary permissions to read all statistics:
CREATE USER perf_mon WITH PASSWORD 'testpw'; GRANT pg_read_all_stats TO perf_mon;
In addition, follow the instructions in the Installing and configuring Telegraf recipe so that there is a fully functional Telegraf data collector.
Read now
Unlock full access