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

22 lines
911 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- @no_container = true
- page_title "Metrics for environment", @environment.name
- content_for :page_specific_javascripts do
2017-09-10 17:25:29 +05:30
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'common_d3'
= webpack_bundle_tag 'monitoring'
2017-08-17 22:00:37 +05:30
= render "projects/pipelines/head"
2017-09-10 17:25:29 +05:30
.prometheus-container{ class: container_class }
2017-08-17 22:00:37 +05:30
.top-area
.row
.col-sm-6
2017-09-10 17:25:29 +05:30
%h3
2017-08-17 22:00:37 +05:30
Environment:
= link_to @environment.name, environment_path(@environment)
2017-09-10 17:25:29 +05:30
#prometheus-graphs{ data: { "settings-path": edit_project_service_path(@project, 'prometheus'),
"documentation-path": help_page_path('administration/monitoring/prometheus/index.md'),
"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-08-17 22:00:37 +05:30