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
fc217415
Commit
fc217415
authored
Mar 19, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add no_data illustration to monitoring empty state
parent
2d3c3ab1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
app/assets/javascripts/monitoring/components/dashboard.vue
app/assets/javascripts/monitoring/components/dashboard.vue
+5
-0
app/assets/javascripts/monitoring/components/empty_state.vue
app/assets/javascripts/monitoring/components/empty_state.vue
+5
-1
app/views/projects/environments/metrics.html.haml
app/views/projects/environments/metrics.html.haml
+1
-0
ee/app/views/projects/clusters/_health.html.haml
ee/app/views/projects/clusters/_health.html.haml
+1
-0
No files found.
app/assets/javascripts/monitoring/components/dashboard.vue
View file @
fc217415
...
...
@@ -73,6 +73,10 @@
type
:
String
,
required
:
true
,
},
emptyNoDataSvgPath
:
{
type
:
String
,
required
:
true
,
},
emptyUnableToConnectSvgPath
:
{
type
:
String
,
required
:
true
,
...
...
@@ -188,6 +192,7 @@
:clusters-path=
"clustersPath"
:empty-getting-started-svg-path=
"emptyGettingStartedSvgPath"
:empty-loading-svg-path=
"emptyLoadingSvgPath"
:empty-no-data-svg-path=
"emptyNoDataSvgPath"
:empty-unable-to-connect-svg-path=
"emptyUnableToConnectSvgPath"
/>
</
template
>
app/assets/javascripts/monitoring/components/empty_state.vue
View file @
fc217415
...
...
@@ -27,6 +27,10 @@
type
:
String
,
required
:
true
,
},
emptyNoDataSvgPath
:
{
type
:
String
,
required
:
true
,
},
emptyUnableToConnectSvgPath
:
{
type
:
String
,
required
:
true
,
...
...
@@ -54,7 +58,7 @@
buttonPath
:
this
.
documentationPath
,
},
noData
:
{
svgUrl
:
this
.
empty
UnableToConnect
SvgPath
,
svgUrl
:
this
.
empty
NoData
SvgPath
,
title
:
'
No data found
'
,
description
:
`You are connected to the Prometheus server, but there is currently
no data to display.`
,
...
...
app/views/projects/environments/metrics.html.haml
View file @
fc217415
...
...
@@ -14,6 +14,7 @@
"documentation-path"
:
help_page_path
(
'administration/monitoring/prometheus/index.md'
),
"empty-getting-started-svg-path"
:
image_path
(
'illustrations/monitoring/getting_started.svg'
),
"empty-loading-svg-path"
:
image_path
(
'illustrations/monitoring/loading.svg'
),
"empty-no-data-svg-path"
:
image_path
(
'illustrations/monitoring/no_data.svg'
),
"empty-unable-to-connect-svg-path"
:
image_path
(
'illustrations/monitoring/unable_to_connect.svg'
),
"metrics-endpoint"
:
additional_metrics_project_environment_path
(
@project
,
@environment
,
format: :json
),
"deployment-endpoint"
:
project_environment_deployments_path
(
@project
,
@environment
,
format: :json
),
...
...
ee/app/views/projects/clusters/_health.html.haml
View file @
fc217415
...
...
@@ -8,6 +8,7 @@
"documentation-path"
:
help_page_path
(
'administration/monitoring/prometheus/index.md'
),
"empty-getting-started-svg-path"
:
image_path
(
'illustrations/monitoring/getting_started.svg'
),
"empty-loading-svg-path"
:
image_path
(
'illustrations/monitoring/loading.svg'
),
"empty-no-data-svg-path"
:
image_path
(
'illustrations/monitoring/no_data.svg'
),
"empty-unable-to-connect-svg-path"
:
image_path
(
'illustrations/monitoring/unable_to_connect.svg'
),
"metrics-endpoint"
:
metrics_namespace_project_cluster_path
(
format: :json
),
"project-path"
:
project_path
(
@project
),
...
...
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