Support Postgresql 17 in PostgreSQLDatabaseMetrics (original) (raw)

Describe the bug
After migrating database to Postgresql17 PostgreSQLDatabaseMetrics class is still polling old columns buffers_backend and buffers_checkpoint from view pg_stat_bgwriter. But those columns are removed from Postgresql17

Environment

To Reproduce
How to reproduce the bug:
Add meter configuration using PostgreSQLDatabaseMetrics class with datasource postgresql v17;