Class: Nomad::AllocationMetric

Inherits:
Response
  • Object
show all
Defined in:
lib/nomad/api/allocation.rb

Constant Summary

Constants inherited from Response

Response::BUILTIN_LOADERS

Instance Attribute Summary collapse

Method Summary

Methods inherited from Response

#==, decode, #initialize, #to_h

Constructor Details

This class inherits a constructor from Nomad::Response

Instance Attribute Details

#allocation_timeDuration (readonly)

The total allocation time



218
# File 'lib/nomad/api/allocation.rb', line 218

field :AllocationTime, as: :allocation_time, load: :nanoseconds_as_duration

#class_exhaustedHash<String,Integer> (readonly)

The list of classes exhausted



203
# File 'lib/nomad/api/allocation.rb', line 203

field :ClassExhausted, as: :class_exhausted, load: :stringify_keys

#class_filteredHash<String,Integer> (readonly)

The list of classes filtered



188
# File 'lib/nomad/api/allocation.rb', line 188

field :ClassFiltered, as: :class_filtered, load: :stringify_keys

#coalesced_failuresInteger (readonly)

The number of coalesced failures



223
# File 'lib/nomad/api/allocation.rb', line 223

field :CoalescedFailures, as: :coalesced_failures

#constraint_filteredHash<String,Integer> (readonly)

The list of constraints filtered



193
# File 'lib/nomad/api/allocation.rb', line 193

field :ConstraintFiltered, as: :constraint_filtered, load: :stringify_keys

#dimension_exhaustedHash<String,Integer> (readonly)

The list of dimensions exhausted



208
# File 'lib/nomad/api/allocation.rb', line 208

field :DimensionExhausted, as: :dimension_exhausted, load: :stringify_keys

#nodes_availableHash<String,Integer> (readonly)

The list of nodes available



183
# File 'lib/nomad/api/allocation.rb', line 183

field :NodesAvailable, as: :nodes_available, load: :stringify_keys

#nodes_evaluatedInteger (readonly)

The number of nodes evaluated



173
# File 'lib/nomad/api/allocation.rb', line 173

field :NodesEvaluated, as: :nodes_evaluated

#nodes_exhaustedInteger (readonly)

The list of nodes exhausted



198
# File 'lib/nomad/api/allocation.rb', line 198

field :NodesExhausted, as: :nodes_exhausted

#nodes_filteredInteger (readonly)

The number of nodes filtered



178
# File 'lib/nomad/api/allocation.rb', line 178

field :NodesFiltered, as: :nodes_filtered

#scoresHash<String,Float> (readonly)

The list of scores



213
# File 'lib/nomad/api/allocation.rb', line 213

field :Scores, as: :scores, load: :stringify_keys