Class: Sidekiq::Prometheus::Exporter::Standard::WorkersStats

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

Instance Attribute Summary collapse

Instance Attribute Details

#by_hostObject

Returns the value of attribute by_host

Returns:

  • (Object)

    the current value of by_host



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

def by_host
  @by_host
end

#by_queueObject

Returns the value of attribute by_queue

Returns:

  • (Object)

    the current value of by_queue



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

def by_queue
  @by_queue
end

#total_workersObject

Returns the value of attribute total_workers

Returns:

  • (Object)

    the current value of total_workers



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

def total_workers
  @total_workers
end