Class NewRelic::MetricSpec
In: lib/new_relic/metric_spec.rb
Parent: Object

this struct uniquely defines a metric, optionally inside the call scope of another metric

Methods

<=>   ==   eql?   hash   inspect   new   sub   to_json   to_s  

Constants

MAX_LENGTH = 255   the maximum length of a metric name or metric scope
LENGTH_RANGE = (0...MAX_LENGTH)
EMPTY_SCOPE = ''.freeze

Attributes

name  [R] 
scope  [R] 

Public Class methods

Public Instance methods

return a new metric spec if the given regex matches the name or scope.

[Validate]