# File lib/new_relic/metric_spec.rb, line 62 def to_s return name if scope.empty? "#{name}:#{scope}" end