Metrics: Delete Prometheus integration code
As part of Monitor: Metrics Deprecation and Removal (&10107), we want to delete all models & data corresponding the Prometheus integration.
Proposal
In order to make this a safe deletion, this should happen over 2 milestones (M
and then M+1
):
M
-
backend Remove
prometheus
fromIntegration::INTEGRATION_NAMES
. -
product intelligence Remove prometheus integration related data metrics (from
config/metrics/**
). -
backend Remove API support for Prometheus integration (see
API::Helpers::IntegrationsHelpers
) - documentation Remove from integration API docs https://docs.gitlab.com/ee/api/integrations.html#prometheus
- documentation Remove from docs https://docs.gitlab.com/ee/user/project/integrations/prometheus.html
-
backend The
Integrations::Prometheus
model should be kept in this release, but could be turned into functionally ano-op
(an integration that does nothing) -
database Data migration to clean up old data in
integrations
table wheretype_new = 'Integrations::Prometheus'
.
M+1
-
backend Remove
Integrations::Prometheus
(The STI model for the data in theintegrations
table that was deleted inM
).
Edited by Luke Duncalfe