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
4737eff4
Commit
4737eff4
authored
Apr 08, 2022
by
Tristan Read
Committed by
Paul Slaughter
Apr 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate prometheus alert to Pajamas::AlertComponent
-
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/84345
parent
6e8b14bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/views/projects/services/prometheus/_top.html.haml
app/views/projects/services/prometheus/_top.html.haml
+1
-2
No files found.
app/views/projects/services/prometheus/_top.html.haml
View file @
4737eff4
...
...
@@ -2,8 +2,7 @@
.row
.col-lg-12
.gl-alert.gl-alert-info
{
role:
'alert'
}
=
sprite_icon
(
'information-o'
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
=
render
Pajamas
::
AlertComponent
.
new
(
dismissible:
false
)
do
.gl-alert-body
=
s_
(
'AlertSettings|You can now set up alert endpoints for manually configured Prometheus instances in the Alerts section on the Operations settings page. Alert endpoint fields on this page have been deprecated.'
)
.gl-alert-actions
...
...
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