Migrate prometheus integrations alert to Pajamas

What does this MR do and why?

issue: #325380 (closed)

Part of the Pajamas migration OKR effort - https://gitlab.com/gitlab-org/ecosystem-stage/team-tasks/-/issues/110

Migrates the alert in app/views/projects/services/prometheus/_top.html.haml to use AlertComponent

Screenshots or screen recordings

before after
Screenshot_2022-04-05_at_18.36.23 Screenshot_2022-04-05_at_18.50.18

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Open a project
  2. Navigate to Settings -> Integrations -> Prometheus
  3. Select the 'Active' checkbox and add some other manual settings.
  4. Save the form

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tristan Read

Merge request reports

Loading