Add test case for prometheus integration
What does this MR do and why?
Describe in detail what your merge request does and why.
- Refactor
Flow::AlertSettings.send_test_alert
to be more flexible to accommodate different test scenarios. - Add test case for new alert automatically creates new incident for Prometheus integration.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.