Exception: OneApm::Collector::StatsHash::StatsHashLookupError
- Inherits:
-
Agent::InternalAgentError
- Object
- StandardError
- Agent::InternalAgentError
- OneApm::Collector::StatsHash::StatsHashLookupError
- Defined in:
- lib/one_apm/collector/stats_engine/stats_hash.rb
Instance Method Summary collapse
-
#initialize(original_error, hash, metric_spec) ⇒ StatsHashLookupError
constructor
A new instance of StatsHashLookupError.
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.}. Falling back adding #{metric_spec.inspect}") end |