Skip to content

Indicate whether the alert is firing

Olena Horal-Koretska requested to merge 208496_Firing_alerts into master

What does this MR do?

Alert on the metrics dashboard indicates that it is firing (displays in red badge), shows tooltip in case of multiple alerts.

Currently we do not support setting up multiple alerts, though it is planned to be implemented in the nearest future. So without mock data you'll be able to check only scenarios with single alert

Screenshots

Non-firing alerts

single multiple
Screen_Shot_2020-03-25_at_12.30.18 Screen_Shot_2020-03-25_at_12.35.35

Firing alerts

single multiple
Screen_Shot_2020-03-25_at_12.33.10 Screen_Shot_2020-03-25_at_12.30.12

Steps to reproduce

  1. Setup cluster with prometheus integration: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/master/doc/howto/prometheus.md
  2. Navigate to Operations->Metrics
  3. Add metrics alert ( only single alert can be setup) 2020-03-25_13.03.21

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

References #208496 (closed)

Edited by Olena Horal-Koretska

Merge request reports