Class: Sidekiq::Prometheus::Exporter::Scheduler::Stats

Inherits:
Struct
  • Object
show all
Defined in:
lib/sidekiq/prometheus/exporter/scheduler.rb

Instance Attribute Summary collapse

Instance Attribute Details

#enabled_jobs_countObject

Returns the value of attribute enabled_jobs_count

Returns:

  • (Object)

    the current value of enabled_jobs_count



13
14
15
# File 'lib/sidekiq/prometheus/exporter/scheduler.rb', line 13

def enabled_jobs_count
  @enabled_jobs_count
end

#jobs_countObject

Returns the value of attribute jobs_count

Returns:

  • (Object)

    the current value of jobs_count



13
14
15
# File 'lib/sidekiq/prometheus/exporter/scheduler.rb', line 13

def jobs_count
  @jobs_count
end

#last_runsObject

Returns the value of attribute last_runs

Returns:

  • (Object)

    the current value of last_runs



13
14
15
# File 'lib/sidekiq/prometheus/exporter/scheduler.rb', line 13

def last_runs
  @last_runs
end