Skip to content

Support Postgresql 17 in PostgreSQLDatabaseMetrics #6657

@maxgrebnev

Description

@maxgrebnev

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

  • Micrometer version: 1.15.3
  • Postgresql v17

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

Metadata

Metadata

Assignees

Labels

enhancementA general enhancementinstrumentationAn issue that is related to instrumenting a componentmodule: micrometer-coreAn issue that is related to our core module

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions