Metrics: Delete UI for Metrics settings

⚠️ Removal should take place in %16.0 or later.

As part of #346541 (closed) remove Metrics section in Settings > Monitor

Relevant files

frontend

  • app/assets/javascripts/operation_settings/*
  • spec/frontend/operation_settings/*


documentation

  • ~~doc/operations/metrics/dashboards/~~~~settings.md ~~ already deleted

Implementation plan

  1. delete Metrics section in Settings > Monitor
  2. Grafana integration settings (Settings > Monitor > Grafana authentication)
  3. Metrics dashboard visibility settings (Settings > General > Visibility, project features, permissions > Monitor > Metrics Dashboard)
  4. Custom metrics settings (Settings > Integrations > Prometheus > Metrics) ➡️ delete when the integrations is deleted
  5. delete relevant docs already deleted

Verification steps

These areas of the app should remain unavailable & without regressions to other features:

Screenshot_2023-03-02_at_15.05.56

Screenshot_2023-03-03_at_6.11.48_PM

Screenshot_2023-03-03_at_6.11.09_PM

Screenshot_2023-03-03_at_5.07.52_PM

Edited by Paulina Sedlak-Jakubowska