Closed a1exsh closed 8 years ago
I'd also like to display the offline message in red color, but the logic there seems a bit too complex and not really extensible.
After some testing looks like the old pg_stat_activity entries are not cleaned up when the server is available again. Will fix.
This allows us not to die miserably on server restart, but continue to collect the other stats like memory, cpu and disk usage. On every round we will try to reconnect and will be displaying the PG stats as soon as the server is back online.