| Class | NewRelic::Agent::TransactionMetrics |
| In: |
lib/new_relic/agent/transaction_metrics.rb
|
| Parent: | Object |
| DEFAULT_PROC | = | Proc.new { |hash, name| hash[name] = NewRelic::Agent::Stats.new } |
As a general rule, when recording a scoped metric, the corresponding unscoped metric should always be recorded as well.
As an optimization, scoped metrics are representated within this class only by their entries in the @scoped Hash, and it‘s up to clients to propagate them into unscoped metrics as well when instances of this class are merged into the global metric store.