Sha256: d08da168211b9a5fd89df8339fd72d20a04c4738ac037e90192d8d3348d99f96

Contents?: true

Size: 1.75 KB

Versions: 3

Compression:

Stored size: 1.75 KB

Contents

# HELP sidekiq_processed_jobs_total The total number of processed jobs.
# TYPE sidekiq_processed_jobs_total counter
sidekiq_processed_jobs_total <%= format('%d', @overview_stats.processed) %>

# 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_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.
# 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
sidekiq_scheduled_jobs <%= format('%d', @overview_stats.scheduled_size) %>

# HELP sidekiq_retry_jobs The number of jobs scheduled for the next try.
# TYPE sidekiq_retry_jobs gauge
sidekiq_retry_jobs <%= format('%d', @overview_stats.retry_size) %>

# 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.
# 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 %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-prometheus-exporter-0.1.6 lib/sidekiq/prometheus/exporter/templates/metrics.erb
sidekiq-prometheus-exporter-0.1.4 lib/sidekiq/prometheus/exporter/templates/metrics.erb
sidekiq-prometheus-exporter-0.1.3 lib/sidekiq/prometheus/exporter/templates/metrics.erb