Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
820924de
Commit
820924de
authored
Jun 11, 2021
by
Tristan Read
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove metrics dashboard alert functionality
Changelog: removed
parent
204f9332
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/controllers/projects/alert_management_controller.rb
app/controllers/projects/alert_management_controller.rb
+1
-1
app/controllers/projects/metrics_dashboard_controller.rb
app/controllers/projects/metrics_dashboard_controller.rb
+1
-1
config/feature_flags/development/managed_alerts_deprecation.yml
.../feature_flags/development/managed_alerts_deprecation.yml
+1
-1
No files found.
app/controllers/projects/alert_management_controller.rb
View file @
820924de
...
...
@@ -4,7 +4,7 @@ class Projects::AlertManagementController < Projects::ApplicationController
before_action
:authorize_read_alert_management_alert!
before_action
(
only:
[
:index
])
do
push_frontend_feature_flag
(
:managed_alerts_deprecation
,
@project
)
push_frontend_feature_flag
(
:managed_alerts_deprecation
,
@project
,
default_enabled: :yaml
)
end
feature_category
:incident_management
...
...
app/controllers/projects/metrics_dashboard_controller.rb
View file @
820924de
...
...
@@ -12,7 +12,7 @@ module Projects
before_action
do
push_frontend_feature_flag
(
:prometheus_computed_alerts
)
push_frontend_feature_flag
(
:disable_metric_dashboard_refresh_rate
)
push_frontend_feature_flag
(
:managed_alerts_deprecation
,
@project
)
push_frontend_feature_flag
(
:managed_alerts_deprecation
,
@project
,
default_enabled: :yaml
)
end
feature_category
:metrics
...
...
config/feature_flags/development/managed_alerts_deprecation.yml
View file @
820924de
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/331863
milestone
:
'
14.0'
type
:
development
group
:
group::monitor
default_enabled
:
fals
e
default_enabled
:
tru
e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment