lib/sidekiq/prometheus/exporter/templates/standard.erb in sidekiq-prometheus-exporter-0.1.8 vs lib/sidekiq/prometheus/exporter/templates/standard.erb in sidekiq-prometheus-exporter-0.1.9
- old
+ new
@@ -4,9 +4,17 @@
# 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.
+# TYPE sidekiq_workers gauge
+sidekiq_workers <%= format('%d', @total_workers) %>
+
+# HELP sidekiq_processes The total 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.