postgres chart postgres_smadb.wal_files_count, postgres_smadb.wal_archiving_files_count are empty

Hi,

it seems that Charts for PostgreSQL postgres_smadb.wal_files_count, postgres_smadb.wal_archiving_files_count are empty, are empty is there any way to troubleshoot the reason?

After a search i found

** wal_files_count, wal_archiving_files_count and replication_slot_files_count need superuser status.*

So I will provide superuser perm on my user and I will revert.

Hi, @pgro. The fact that Netdata creates the charts (wal_files_count, wal_archiving_files_count) despite the fact that the user is not a superuser is a bug. On the other hand, if Netdata wouldn’t create them, it is very likely that you wouldn’t notice their absence.

The fact that Netdata creates the charts (wal_files_count, wal_archiving_files_count) despite the fact that the user is not a superuser is a bug

Fixed in netdata/go.d.plugin#1122