| 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
| MAX_LENGTH | = | 255 | the maximum length of a metric name or metric scope | |
| LENGTH_RANGE | = | (0...MAX_LENGTH) | ||
| EMPTY_SCOPE | = | ''.freeze |
| name | [R] | |
| scope | [R] |
return a new metric spec if the given regex matches the name or scope.