PG Monitoring review Query analysis involving wait events

Related to the current monitoring we need to review:

  • Query analysis involving wait events (a.k.a. “active session analysis” or “performance insights”), based on pg_wait_sampling

Acceptance criteria:

  • Fix the metrics and the dashboard