debian-mirror-gitlab/app/views/projects/environments/metrics.html.haml

19 lines
1.2 KiB
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- @no_container = true
- page_title "Metrics for environment", @environment.name
2017-09-10 17:25:29 +05:30
.prometheus-container{ class: container_class }
#prometheus-graphs{ data: { "settings-path": edit_project_service_path(@project, 'prometheus'),
2018-03-17 18:26:18 +05:30
"clusters-path": project_clusters_path(@project),
2018-11-08 19:23:39 +05:30
"current-environment-name": @environment.name,
2017-09-10 17:25:29 +05:30
"documentation-path": help_page_path('administration/monitoring/prometheus/index.md'),
2018-03-17 18:26:18 +05:30
"empty-getting-started-svg-path": image_path('illustrations/monitoring/getting_started.svg'),
"empty-loading-svg-path": image_path('illustrations/monitoring/loading.svg'),
2018-05-09 12:01:36 +05:30
"empty-no-data-svg-path": image_path('illustrations/monitoring/no_data.svg'),
2018-03-17 18:26:18 +05:30
"empty-unable-to-connect-svg-path": image_path('illustrations/monitoring/unable_to_connect.svg'),
2018-03-27 19:54:05 +05:30
"metrics-endpoint": additional_metrics_project_environment_path(@project, @environment, format: :json),
"deployment-endpoint": project_environment_deployments_path(@project, @environment, format: :json),
2018-11-08 19:23:39 +05:30
"environments-endpoint": project_environments_path(@project, format: :json),
2018-03-17 18:26:18 +05:30
"project-path": project_path(@project),
"tags-path": project_tags_path(@project),
2018-03-27 19:54:05 +05:30
"has-metrics": "#{@environment.has_metrics?}" } }