2017-03-07 11:57:42 -05:00
|
|
|
- @no_container = true
|
|
|
|
- page_title "Metrics for environment", @environment.name
|
2017-03-20 15:54:03 -04:00
|
|
|
- content_for :page_specific_javascripts do
|
2017-06-20 04:50:31 -04:00
|
|
|
= webpack_bundle_tag 'common_vue'
|
|
|
|
= webpack_bundle_tag 'common_d3'
|
|
|
|
= webpack_bundle_tag 'monitoring'
|
2017-03-07 11:57:42 -05:00
|
|
|
= render "projects/pipelines/head"
|
|
|
|
|
2017-06-20 04:50:31 -04:00
|
|
|
.prometheus-container{ class: container_class }
|
2017-03-07 11:57:42 -05:00
|
|
|
.top-area
|
|
|
|
.row
|
|
|
|
.col-sm-6
|
2017-07-03 14:22:26 -04:00
|
|
|
%h3
|
2017-03-07 11:57:42 -05:00
|
|
|
Environment:
|
2017-03-29 12:10:30 -04:00
|
|
|
= link_to @environment.name, environment_path(@environment)
|
2017-03-07 11:57:42 -05:00
|
|
|
|
2017-06-29 13:06:35 -04:00
|
|
|
#prometheus-graphs{ data: { "settings-path": edit_project_service_path(@project, 'prometheus'),
|
2017-06-20 04:50:31 -04:00
|
|
|
"documentation-path": help_page_path('administration/monitoring/prometheus/index.md'),
|
2017-06-29 13:06:35 -04: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) } }
|
2017-04-06 09:24:33 -04:00
|
|
|
|