It's not possible to add Postgres with pg_stat_monitor extension for pmm2-client < 2.41.2
General
Escalation
General
Escalation
Description
How to test
See “Steps to reproduce”.
How to document
No doc needed since behaviour for older versions will persist as previously.
Attachments
2
Smart Checklist
hideActivity
Show:
Done
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created March 14, 2024 at 10:21 AM
Updated August 8, 2024 at 5:02 AM
Resolved March 18, 2024 at 9:57 AM
STR:
Start PMM server 2.41.2
Install and configure pmm2-client 2.41.1
Enable pg_stat_monitor extension on Postgres
Add Postgres with pg_stat_monitor as query source: pmm-admin add postgresql --query-source=pgstatmonitor
Actual result: pg_stat_statements agent is started instead of pg_stat_monitor agent. In logs:
Could not to detect the pg_stat_monitor extension on your system. Falling back to the pg_stat_statements
Expected result: pg_stat_monitor agent is started