2017-03-07 16:57:42 +00:00
|
|
|
- @no_container = true
|
|
|
|
- page_title "Metrics for environment", @environment.name
|
2017-03-20 19:54:03 +00:00
|
|
|
- content_for :page_specific_javascripts do
|
2017-06-20 08:50:31 +00:00
|
|
|
= webpack_bundle_tag 'common_vue'
|
|
|
|
= webpack_bundle_tag 'common_d3'
|
|
|
|
= webpack_bundle_tag 'monitoring'
|
2017-09-21 22:13:20 +00:00
|
|
|
|
2017-06-20 08:50:31 +00:00
|
|
|
.prometheus-container{ class: container_class }
|
2017-03-07 16:57:42 +00:00
|
|
|
.top-area
|
|
|
|
.row
|
|
|
|
.col-sm-6
|
2017-07-03 18:22:26 +00:00
|
|
|
%h3
|
2017-03-07 16:57:42 +00:00
|
|
|
Environment:
|
2017-03-29 16:10:30 +00:00
|
|
|
= link_to @environment.name, environment_path(@environment)
|
2017-03-07 16:57:42 +00:00
|
|
|
|
2017-06-29 17:06:35 +00:00
|
|
|
#prometheus-graphs{ data: { "settings-path": edit_project_service_path(@project, 'prometheus'),
|
2017-06-20 08:50:31 +00:00
|
|
|
"documentation-path": help_page_path('administration/monitoring/prometheus/index.md'),
|
2017-09-22 08:39:47 +00:00
|
|
|
"empty-getting-started-svg-path": image_path('illustrations/monitoring/getting_started'),
|
|
|
|
"empty-loading-svg-path": image_path('illustrations/monitoring/loading'),
|
|
|
|
"empty-unable-to-connect-svg-path": image_path('illustrations/monitoring/unable_to_connect'),
|
2017-06-29 17:06:35 +00:00
|
|
|
"additional-metrics": additional_metrics_project_environment_path(@project, @environment, format: :json),
|
|
|
|
"has-metrics": "#{@environment.has_metrics?}", deployment_endpoint: project_environment_deployments_path(@project, @environment, format: :json) } }
|