Class: Sidekiq::Prometheus::Exporter::Standard::QueueWorkersStats

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

Instance Attribute Summary collapse

Instance Attribute Details

#busy_workersObject

Returns the value of attribute busy_workers

Returns:

  • (Object)

    the current value of busy_workers



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

def busy_workers
  @busy_workers
end

#processesObject

Returns the value of attribute processes

Returns:

  • (Object)

    the current value of processes



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

def processes
  @processes
end

#total_workersObject

Returns the value of attribute total_workers

Returns:

  • (Object)

    the current value of total_workers



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

def total_workers
  @total_workers
end