Sha256: 7874e0bd3e3470b8d9a3250362df0c05645207ff07ded6b39c45b7e6b7be6e7a

Contents?: true

Size: 719 Bytes

Versions: 10

Compression:

Stored size: 719 Bytes

Contents

# HELP sidekiq_scheduler_jobs The number of recurring jobs.
# TYPE sidekiq_scheduler_jobs gauge
sidekiq_scheduler_jobs <%= format('%d', @stats.jobs_count) %>

# HELP sidekiq_scheduler_enabled_jobs The number of enabled recurring jobs.
# TYPE sidekiq_scheduler_enabled_jobs gauge
sidekiq_scheduler_enabled_jobs <%= format('%d', @stats.enabled_jobs_count) %>

# HELP sidekiq_scheduler_time_since_last_run_minutes The number of minutes since the last recurring job was executed and current time.
# TYPE sidekiq_scheduler_time_since_last_run_minutes gauge
<% @stats.last_runs.each do |job, last_run_minutes| %>sidekiq_scheduler_time_since_last_run_minutes{name="<%= job %>"} <%= format('%i', last_run_minutes) %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sidekiq-prometheus-exporter-0.2.1 lib/sidekiq/prometheus/exporter/templates/scheduler.erb
sidekiq-prometheus-exporter-0.2.0 lib/sidekiq/prometheus/exporter/templates/scheduler.erb
sidekiq-prometheus-exporter-0.1.17 lib/sidekiq/prometheus/exporter/templates/scheduler.erb
sidekiq-prometheus-exporter-0.1.16 lib/sidekiq/prometheus/exporter/templates/scheduler.erb
sidekiq-prometheus-exporter-0.1.15 lib/sidekiq/prometheus/exporter/templates/scheduler.erb
sidekiq-prometheus-exporter-0.1.14 lib/sidekiq/prometheus/exporter/templates/scheduler.erb
sidekiq-prometheus-exporter-0.1.13 lib/sidekiq/prometheus/exporter/templates/scheduler.erb
sidekiq-prometheus-exporter-0.1.12 lib/sidekiq/prometheus/exporter/templates/scheduler.erb
sidekiq-prometheus-exporter-0.1.11 lib/sidekiq/prometheus/exporter/templates/scheduler.erb
sidekiq-prometheus-exporter-0.1.10 lib/sidekiq/prometheus/exporter/templates/scheduler.erb