Monitoring calls need to be updated for postgres 17, currently generating an error in postgres logs

2024-11-26 20:47:36 UTC [12604]: app=[unknown] LOG:  connection received: host=172.19.0.12 port=45460
2024-11-26 20:47:36 UTC [12604]: app=[unknown] LOG:  connection authenticated: user="postgres" method=trust (/etc/postgresql/17/main/pg_hba.conf:45)
2024-11-26 20:47:36 UTC [12604]: app=[unknown] LOG:  connection authorized: user=postgres database=postgres
2024-11-26 20:47:36 UTC [12604]: app=[unknown] ERROR:  column "checkpoints_timed" does not exist at character 10
2024-11-26 20:47:36 UTC [12604]: app=[unknown] STATEMENT:  SELECT
                        checkpoints_timed
                        ,checkpoints_req
                        ,checkpoint_write_time
                        ,checkpoint_sync_time
                        ,buffers_checkpoint
                        ,buffers_clean
                        ,maxwritten_clean
                        ,buffers_backend
                        ,buffers_backend_fsync
                        ,buffers_alloc
                        ,stats_reset
                FROM pg_stat_bgwriter;
Edited by Dan Notestein