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



23
24
25
# File 'lib/sidekiq/prometheus/exporter/standard.rb', line 23

def by_host
  @by_host
end

#by_queueObject

Returns the value of attribute by_queue

Returns:

  • (Object)

    the current value of by_queue



23
24
25
# File 'lib/sidekiq/prometheus/exporter/standard.rb', line 23

def by_queue
  @by_queue
end

#leader_lifetimeObject

Returns the value of attribute leader_lifetime

Returns:

  • (Object)

    the current value of leader_lifetime



23
24
25
# File 'lib/sidekiq/prometheus/exporter/standard.rb', line 23

def leader_lifetime
  @leader_lifetime
end

#total_workersObject

Returns the value of attribute total_workers

Returns:

  • (Object)

    the current value of total_workers



23
24
25
# File 'lib/sidekiq/prometheus/exporter/standard.rb', line 23

def total_workers
  @total_workers
end