lib/sidekiq/prometheus/exporter/templates/standard.erb in sidekiq-prometheus-exporter-0.1.9 vs lib/sidekiq/prometheus/exporter/templates/standard.erb in sidekiq-prometheus-exporter-0.1.10

- old
+ new

@@ -4,23 +4,23 @@ # HELP sidekiq_failed_jobs_total The total number of failed jobs. # TYPE sidekiq_failed_jobs_total counter sidekiq_failed_jobs_total <%= format('%d', @overview_stats.failed) %> -# HELP sidekiq_workers The total number of workers across all the processes. +# HELP sidekiq_workers The number of workers across all the processes. # TYPE sidekiq_workers gauge sidekiq_workers <%= format('%d', @total_workers) %> -# HELP sidekiq_processes The total number of processes. +# HELP sidekiq_processes The number of processes. # TYPE sidekiq_processes gauge sidekiq_processes <%= format('%d', @overview_stats.processes_size) %> # 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 total number of enqueued jobs. +# HELP sidekiq_enqueued_jobs The 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 @@ -32,17 +32,17 @@ # HELP sidekiq_dead_jobs The number of jobs being dead. # TYPE sidekiq_dead_jobs gauge sidekiq_dead_jobs <%= format('%d', @overview_stats.dead_size) %> -# HELP sidekiq_queue_latency_seconds The amount of seconds between oldest job being pushed to the queue and current time. +# HELP sidekiq_queue_latency_seconds The number 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_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 %> -# HELP sidekiq_queue_max_processing_time_seconds The amount of seconds between oldest job of the queue being executed and current time. +# HELP sidekiq_queue_max_processing_time_seconds The number of seconds between oldest job of the queue being executed and current time. # TYPE sidekiq_queue_max_processing_time_seconds gauge <% @max_processing_times.each do |queue, max_processing_time| %>sidekiq_queue_max_processing_time_seconds{name="<%= queue %>"} <%= format('%i', max_processing_time) %> <% end %>