lib/sidekiq/prometheus/exporter/templates/metrics.erb in sidekiq-prometheus-exporter-0.1.2 vs lib/sidekiq/prometheus/exporter/templates/metrics.erb in sidekiq-prometheus-exporter-0.1.3

- old
+ new

@@ -8,11 +8,11 @@ # HELP sidekiq_busy_workers The number of workers performing the job. # TYPE sidekiq_busy_workers gauge sidekiq_busy_workers <%= format('%d', @overview_stats.workers_size) %> -# HELP sidekiq_enqueued_jobs The number of enqueued jobs. +# HELP sidekiq_enqueued_jobs The total number of enqueued jobs. # TYPE sidekiq_enqueued_jobs gauge sidekiq_enqueued_jobs <%= format('%d', @overview_stats.enqueued) %> # HELP sidekiq_scheduled_jobs The number of jobs scheduled for a future execution. # TYPE sidekiq_scheduled_jobs gauge @@ -28,9 +28,9 @@ # HELP sidekiq_queue_latency_seconds The amount of seconds between oldest job being pushed to the queue and current time. # TYPE sidekiq_queue_latency_seconds gauge <% @queues_stats.each do |queue| %>sidekiq_queue_latency_seconds{name="<%= queue.name %>"} <%= format('%.3f', queue.latency) %> <% end %> -# HELP sidekiq_queue_size The amount of jobs pushed to the queue. -# TYPE sidekiq_queue_size gauge -<% @queues_stats.each do |queue| %>sidekiq_queue_size{name="<%= queue.name %>"} <%= format('%d', queue.size) %> +# HELP sidekiq_queue_enqueued_jobs The number of enqueued jobs in the queue. +# TYPE sidekiq_queue_enqueued_jobs gauge +<% @queues_stats.each do |queue| %>sidekiq_queue_enqueued_jobs{name="<%= queue.name %>"} <%= format('%d', queue.size) %> <% end %>