Exception: OneApm::Collector::StatsHash::StatsHashLookupError

Inherits:
Agent::InternalAgentError show all
Defined in:
lib/one_apm/collector/stats_engine/stats_hash.rb

Instance Method Summary collapse

Constructor Details

#initialize(original_error, hash, metric_spec) ⇒ StatsHashLookupError

Returns a new instance of StatsHashLookupError.



46
47
48
# File 'lib/one_apm/collector/stats_engine/stats_hash.rb', line 46

def initialize(original_error, hash, metric_spec)
  super("Lookup error in StatsHash: #{original_error.class}: #{original_error.message}. Falling back adding #{metric_spec.inspect}")
end