Commit 15908cf2 authored by kushalpandya's avatar kushalpandya

Add Prometheus Metrics Bundle, panel for Missing environment variables

parent 2742bbd2
- content_for :page_specific_javascripts do
= webpack_bundle_tag('prometheus_metrics')
......@@ -8,14 +11,28 @@
More information
.panel.panel-default.js-panel-monitored-metrics{ data: { "active-metrics" => "#{namespace_project_prometheus_active_metrics_path(@project.namespace, @project)}.json" } }
%span.badge-count.js-monitored-count 0
= icon('spinner spin 3x')
%p Finding and configuring metrics...
= custom_icon('icon_empty_metrics')
%p No metrics are being monitored. To start monitoring, deploy to an environment.
= link_to project_environments_path(@project), title: 'View environments', class: 'btn btn-success' do
View environments
\ No newline at end of file
View environments
= icon('caret-right lg', class: 'panel-toggle js-panel-toggle', 'aria-label' => 'Toggle panel')
Missing environment variable(s)
%span.badge-count.js-env-var-count 0
%p Nothing to show here at the moment
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment