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
dbf33333
Commit
dbf33333
authored
Nov 07, 2019
by
Olena Horal-Koretska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update link to docs on cluster page
parent
60b71440
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
23 deletions
+28
-23
ee/app/helpers/ee/clusters_helper.rb
ee/app/helpers/ee/clusters_helper.rb
+11
-11
ee/changelogs/unreleased/13989-view-docs-on-cluster-page.yml
ee/changelogs/unreleased/13989-view-docs-on-cluster-page.yml
+5
-0
ee/spec/helpers/ee/clusters_helper_spec.rb
ee/spec/helpers/ee/clusters_helper_spec.rb
+12
-12
No files found.
ee/app/helpers/ee/clusters_helper.rb
View file @
dbf33333
...
@@ -15,17 +15,17 @@ module EE
...
@@ -15,17 +15,17 @@ module EE
def
cluster_health_data
(
cluster
)
def
cluster_health_data
(
cluster
)
{
{
'clusters-path'
:
clusterable
.
index_path
,
'clusters-path'
=>
clusterable
.
index_path
,
'metrics-endpoint'
:
clusterable
.
metrics_cluster_path
(
cluster
,
format: :json
),
'metrics-endpoint'
=>
clusterable
.
metrics_cluster_path
(
cluster
,
format: :json
),
'dashboard-endpoint'
:
clusterable
.
metrics_dashboard_path
(
cluster
),
'dashboard-endpoint'
=>
clusterable
.
metrics_dashboard_path
(
cluster
),
'documentation-path'
:
help_page_path
(
'administration/monitoring/prometheus/index.md
'
),
'documentation-path'
=>
help_page_path
(
'user/project/clusters/index'
,
anchor:
'monitoring-your-kubernetes-cluster-ultimate
'
),
'empty-getting-started-svg-path'
:
image_path
(
'illustrations/monitoring/getting_started.svg'
),
'empty-getting-started-svg-path'
=>
image_path
(
'illustrations/monitoring/getting_started.svg'
),
'empty-loading-svg-path'
:
image_path
(
'illustrations/monitoring/loading.svg'
),
'empty-loading-svg-path'
=>
image_path
(
'illustrations/monitoring/loading.svg'
),
'empty-no-data-svg-path'
:
image_path
(
'illustrations/monitoring/no_data.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'
),
'empty-unable-to-connect-svg-path'
=>
image_path
(
'illustrations/monitoring/unable_to_connect.svg'
),
'settings-path'
:
''
,
'settings-path'
=>
''
,
'project-path'
:
''
,
'project-path'
=>
''
,
'tags-path'
:
''
'tags-path'
=>
''
}
}
end
end
end
end
...
...
ee/changelogs/unreleased/13989-view-docs-on-cluster-page.yml
0 → 100644
View file @
dbf33333
---
title
:
Updated View documentation link on cluster page
merge_request
:
19780
author
:
type
:
fixed
ee/spec/helpers/ee/clusters_helper_spec.rb
View file @
dbf33333
...
@@ -76,17 +76,17 @@ describe ClustersHelper do
...
@@ -76,17 +76,17 @@ describe ClustersHelper do
it
do
it
do
is_expected
.
to
match
(
is_expected
.
to
match
(
'clusters-path'
:
clusterable_presenter
.
index_path
,
'clusters-path'
=>
clusterable_presenter
.
index_path
,
'metrics-endpoint'
:
clusterable_presenter
.
metrics_cluster_path
(
cluster
,
format: :json
),
'metrics-endpoint'
=>
clusterable_presenter
.
metrics_cluster_path
(
cluster
,
format: :json
),
'dashboard-endpoint'
:
clusterable_presenter
.
metrics_dashboard_path
(
cluster
),
'dashboard-endpoint'
=>
clusterable_presenter
.
metrics_dashboard_path
(
cluster
),
'documentation-path'
:
help_page_path
(
'administration/monitoring/prometheus/index.md
'
),
'documentation-path'
=>
help_page_path
(
'user/project/clusters/index'
,
anchor:
'monitoring-your-kubernetes-cluster-ultimate
'
),
'empty-getting-started-svg-path'
:
match_asset_path
(
'/assets/illustrations/monitoring/getting_started.svg'
),
'empty-getting-started-svg-path'
=>
match_asset_path
(
'/assets/illustrations/monitoring/getting_started.svg'
),
'empty-loading-svg-path'
:
match_asset_path
(
'/assets/illustrations/monitoring/loading.svg'
),
'empty-loading-svg-path'
=>
match_asset_path
(
'/assets/illustrations/monitoring/loading.svg'
),
'empty-no-data-svg-path'
:
match_asset_path
(
'/assets/illustrations/monitoring/no_data.svg'
),
'empty-no-data-svg-path'
=>
match_asset_path
(
'/assets/illustrations/monitoring/no_data.svg'
),
'empty-unable-to-connect-svg-path'
:
match_asset_path
(
'/assets/illustrations/monitoring/unable_to_connect.svg'
),
'empty-unable-to-connect-svg-path'
=>
match_asset_path
(
'/assets/illustrations/monitoring/unable_to_connect.svg'
),
'settings-path'
:
''
,
'settings-path'
=>
''
,
'project-path'
:
''
,
'project-path'
=>
''
,
'tags-path'
:
''
'tags-path'
=>
''
)
)
end
end
end
end
...
...
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