BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8d1be1af
Unverified
Commit
8d1be1af
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
4b6b68d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
dashboard.vue
app/assets/javascripts/monitoring/components/dashboard.vue
+5
-0
empty_state.vue
app/assets/javascripts/monitoring/components/empty_state.vue
+5
-1
metrics.html.haml
app/views/projects/environments/metrics.html.haml
+1
-0
No files found.
app/assets/javascripts/monitoring/components/dashboard.vue
View file @
8d1be1af
...
...
@@ -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 @
8d1be1af
...
...
@@ -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 @
8d1be1af
...
...
@@ -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
),
...
...
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