From 8295a5a8301106073752e5a849f1264bd8141c43 Mon Sep 17 00:00:00 2001 From: syasonik Date: Wed, 23 Jul 2025 22:53:49 -0500 Subject: [PATCH] Remove feature flag remove_monitor_metrics Changelog: removed --- .../index/components/integrations_table.vue | 12 +++------- .../concerns/integrations/actions.rb | 4 ---- .../settings/integrations_controller.rb | 4 ---- .../development/remove_monitor_metrics.yml | 8 ------- .../integrations/project_integrations_spec.rb | 1 - ee/spec/features/projects/navbar_spec.rb | 1 - .../clusters/clusters/show.html.haml_spec.rb | 1 - lib/gitlab/gon_helper.rb | 1 - .../admin/integrations_controller_spec.rb | 1 - .../settings/integrations_controller_spec.rb | 1 - .../settings/integrations_controller_spec.rb | 19 --------------- .../instance_integrations_spec.rb | 4 ---- .../user_views_alerts_settings_spec.rb | 1 - .../integrations/group_integrations_spec.rb | 16 ------------- .../integrations/project_integrations_spec.rb | 12 ---------- .../components/integrations_table_spec.js | 15 +----------- .../admin/integrations_controller_spec.rb | 24 ------------------- spec/requests/api/project_templates_spec.rb | 1 - .../integrations/integration_settings_form.rb | 4 ---- 19 files changed, 4 insertions(+), 126 deletions(-) delete mode 100644 config/feature_flags/development/remove_monitor_metrics.yml diff --git a/app/assets/javascripts/integrations/index/components/integrations_table.vue b/app/assets/javascripts/integrations/index/components/integrations_table.vue index 4c5bdfd5333b29..f30875de3092fd 100644 --- a/app/assets/javascripts/integrations/index/components/integrations_table.vue +++ b/app/assets/javascripts/integrations/index/components/integrations_table.vue @@ -50,7 +50,7 @@ export default { }, computed: { fields() { - if (this.filteredIntegrations.length === 0) { + if (this.integrations.length === 0) { return []; } @@ -71,7 +71,7 @@ export default { }, ); - if (!this.inactive && this.filteredIntegrations.length > 0) { + if (!this.inactive && this.integrations.length > 0) { fields.push({ key: 'updated_at', label: this.showUpdatedAt ? __('Last updated') : '', @@ -90,12 +90,6 @@ export default { return fields; }, - filteredIntegrations() { - return this.integrations.filter( - (integration) => - !(integration.name === 'prometheus' && this.glFeatures.removeMonitorMetrics), - ); - }, }, methods: { getStatusTooltipTitle(integration) { @@ -115,7 +109,7 @@ export default {