Method: NewRelic::Agent::StatsEngine#tl_record_supportability_metric_count

Defined in:
lib/new_relic/agent/stats_engine.rb

#tl_record_supportability_metric_count(metric, value) ⇒ Object

Helper for recording a straight value into the count

[View source]

123
124
125
126
127
128
# File 'lib/new_relic/agent/stats_engine.rb', line 123

def tl_record_supportability_metric_count(metric, value)
  real_name = "Supportability/#{metric}"
  tl_record_unscoped_metrics(real_name) do |stat|
    stat.call_count = value
  end
end