871bf96c9b
Additional metrics dashboard See merge request !11740
21 lines
1,012 B
Text
21 lines
1,012 B
Text
- @no_container = true
|
|
- page_title "Metrics for environment", @environment.name
|
|
- content_for :page_specific_javascripts do
|
|
= webpack_bundle_tag 'common_vue'
|
|
= webpack_bundle_tag 'common_d3'
|
|
= webpack_bundle_tag 'monitoring'
|
|
= render "projects/pipelines/head"
|
|
|
|
.prometheus-container{ class: container_class }
|
|
.top-area
|
|
.row
|
|
.col-sm-6
|
|
%h3.page-title
|
|
Environment:
|
|
= link_to @environment.name, environment_path(@environment)
|
|
|
|
#prometheus-graphs{ data: { "settings-path": edit_namespace_project_service_path(@project.namespace, @project, 'prometheus'),
|
|
"documentation-path": help_page_path('administration/monitoring/prometheus/index.md'),
|
|
"additional-metrics": additional_metrics_namespace_project_environment_path(@project.namespace, @project, @environment, format: :json),
|
|
"has-metrics": "#{@environment.has_metrics?}", deployment_endpoint: namespace_project_environment_deployments_path(@project.namespace, @project, @environment, format: :json) } }
|
|
|