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
9ea58931
Commit
9ea58931
authored
Mar 17, 2020
by
Vitali Tatarintev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move GitlabAlertEmbedService to CE
Contributes to migration of Prometheus Alerts to Core
parent
6b2e3070
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
+2
-2
app/services/metrics/dashboard/gitlab_alert_embed_service.rb
app/services/metrics/dashboard/gitlab_alert_embed_service.rb
+0
-0
ee/lib/ee/gitlab/metrics/dashboard/service_selector.rb
ee/lib/ee/gitlab/metrics/dashboard/service_selector.rb
+1
-2
lib/gitlab/metrics/dashboard/service_selector.rb
lib/gitlab/metrics/dashboard/service_selector.rb
+1
-0
spec/services/metrics/dashboard/gitlab_alert_embed_service_spec.rb
...ices/metrics/dashboard/gitlab_alert_embed_service_spec.rb
+0
-0
No files found.
ee/
app/services/metrics/dashboard/gitlab_alert_embed_service.rb
→
app/services/metrics/dashboard/gitlab_alert_embed_service.rb
View file @
9ea58931
File moved
ee/lib/ee/gitlab/metrics/dashboard/service_selector.rb
View file @
9ea58931
...
...
@@ -9,8 +9,7 @@ module EE
EE_SERVICES
=
[
::
Metrics
::
Dashboard
::
ClusterMetricsEmbedService
,
::
Metrics
::
Dashboard
::
ClusterDashboardService
,
::
Metrics
::
Dashboard
::
GitlabAlertEmbedService
::
Metrics
::
Dashboard
::
ClusterDashboardService
].
freeze
class_methods
do
...
...
lib/gitlab/metrics/dashboard/service_selector.rb
View file @
9ea58931
...
...
@@ -13,6 +13,7 @@ module Gitlab
include
Gitlab
::
Utils
::
StrongMemoize
SERVICES
=
[
::
Metrics
::
Dashboard
::
GitlabAlertEmbedService
,
::
Metrics
::
Dashboard
::
CustomMetricEmbedService
,
::
Metrics
::
Dashboard
::
GrafanaMetricEmbedService
,
::
Metrics
::
Dashboard
::
DynamicEmbedService
,
...
...
ee/
spec/services/metrics/dashboard/gitlab_alert_embed_service_spec.rb
→
spec/services/metrics/dashboard/gitlab_alert_embed_service_spec.rb
View file @
9ea58931
File moved
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