Pause migration when patroni apdex dropped below SLO for Gitlab.com
Extracted from #353395 (comment 892991285)
Overview
- Metric: Patroni apdex
- Action: When apdex is below SLO, pause migration
- Source: Prometheus (for both apdex and SLO - see link below)
- Requires prometheus: Yes
The patroni apdex indicates the overall database health. When it drops below a configured SLO, we can use this as a strong signal to pause background migrations until it recovered.
Note: Implementation details can be found here
Edited by Prabakaran Murugesan