Commit dbf33333 authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Update link to docs on cluster page

parent 60b71440
...@@ -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
......
---
title: Updated View documentation link on cluster page
merge_request: 19780
author:
type: fixed
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment