Class: Wurk::Metrics::Prometheus::Snapshot

Inherits:
Struct
  • Object
show all
Defined in:
lib/wurk/metrics/prometheus.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dead ⇒ Object

Returns the value of attribute dead

Returns:

  • (Object) —

    the current value of dead



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def dead
  @dead
end

#failed ⇒ Object

Returns the value of attribute failed

Returns:

  • (Object) —

    the current value of failed



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def failed
  @failed
end

#leader ⇒ Object

Returns the value of attribute leader

Returns:

  • (Object) —

    the current value of leader



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def leader
  @leader
end

#ok ⇒ Object

Returns the value of attribute ok

Returns:

  • (Object) —

    the current value of ok



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def ok
  @ok
end

#processed ⇒ Object

Returns the value of attribute processed

Returns:

  • (Object) —

    the current value of processed



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def processed
  @processed
end

#processes ⇒ Object

Returns the value of attribute processes

Returns:

  • (Object) —

    the current value of processes



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def processes
  @processes
end

#queues ⇒ Object

Returns the value of attribute queues

Returns:

  • (Object) —

    the current value of queues



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def queues
  @queues
end

#retries ⇒ Object

Returns the value of attribute retries

Returns:

  • (Object) —

    the current value of retries



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def retries
  @retries
end

#scheduled ⇒ Object

Returns the value of attribute scheduled

Returns:

  • (Object) —

    the current value of scheduled



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def scheduled
  @scheduled
end

#set_heads ⇒ Object

Returns the value of attribute set_heads

Returns:

  • (Object) —

    the current value of set_heads



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def set_heads
  @set_heads
end

#taken_at ⇒ Object

Returns the value of attribute taken_at

Returns:

  • (Object) —

    the current value of taken_at



100
101
102
# File 'lib/wurk/metrics/prometheus.rb', line 100

def taken_at
  @taken_at
end