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
6d7be79b
Commit
6d7be79b
authored
Feb 21, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add prometheus cluster health monitoring empty state
parent
6d51bbd7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
app/assets/javascripts/clusters/components/applications.vue
app/assets/javascripts/clusters/components/applications.vue
+4
-1
app/views/projects/clusters/_health.html.haml
app/views/projects/clusters/_health.html.haml
+9
-0
app/views/projects/clusters/show.html.haml
app/views/projects/clusters/show.html.haml
+2
-0
No files found.
app/assets/javascripts/clusters/components/applications.vue
View file @
6d7be79b
...
...
@@ -117,7 +117,10 @@
</
script
>
<
template
>
<section
class=
"settings no-animate expanded"
>
<section
id=
"cluster-applications"
class=
"settings no-animate expanded"
>
<div
class=
"settings-header"
>
<h4>
{{
s__
(
'
ClusterIntegration|Applications
'
)
}}
...
...
app/views/projects/clusters/_health.html.haml
0 → 100644
View file @
6d7be79b
%section
.settings.no-animate.expanded
#cluster-health
%h4
=
s_
(
'ClusterIntegration|Kubernetes cluster health'
)
.settings-content
%p
=
s_
(
"ClusterIntegration|In order to show the health of the cluster, we'll need to provision your cluster with Prometheus to collect the required data."
)
%a
.btn
{
href:
'#cluster-applications'
}
=
s_
(
'ClusterIntegration|Install Prometheus'
)
app/views/projects/clusters/show.html.haml
View file @
6d7be79b
...
...
@@ -22,6 +22,8 @@
.js-cluster-application-notice
.flash-container
=
render
'health'
%section
.settings.no-animate.expanded
#cluster-integration
=
render
'banner'
=
render
'integration_form'
...
...
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