Skip to content

Stop using PrometheusAlertPresenter from graphql and remove class

Sarah Yasonik requested to merge sy-rm-monitor-metrics-17 into master

What does this MR do and why?

Changes: Formally deprecates the AlertManagementAlert#prometheusAlert field in graphql (it's been returning nil), enabling the removal of PrometheusAlertPresenter.

Context: This MR cleans up a portion of dead code related to the removal of devopsmonitor Category:Metrics features. The Metrics Dashboard & Prometheus Metrics/Alerts (used for monitoring apps deploying using gitlab) were deprecated in 14.7 and removed from the product in 16.0.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

The features related to this removal were disabled in %16.0, and it's no longer possible to set them up. So there's nothing really to test here.

Edited by Sarah Yasonik

Merge request reports

Loading