Class: NewRelic::MetricParser::WebService

Inherits:
NewRelic::MetricParser show all
Defined in:
lib/new_relic/metric_parser/web_service.rb

Constant Summary

Constants inherited from NewRelic::MetricParser

SEPARATOR

Instance Attribute Summary

Attributes inherited from NewRelic::MetricParser

#name

Instance Method Summary collapse

Methods inherited from NewRelic::MetricParser

#apdex_metric_path, #base_metric_name, #call_rate_suffix, #category, #developer_name, for_metric_named, #initialize, #is_controller?, #is_transaction?, #last_segment, #legend_name, #method_missing, parse, #pie_chart_label, #segment_0, #segment_1, #segment_2, #segment_3, #segment_4, #segment_5, #segments, #short_name, #summary_metrics, #tooltip_name, #url

Constructor Details

This class inherits a constructor from NewRelic::MetricParser

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class NewRelic::MetricParser

Instance Method Details

#is_web_service?Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/new_relic/metric_parser/web_service.rb', line 2

def is_web_service?
  segments[1] != 'Soap' && segments[1] != 'Xml Rpc'
end

#webservice_call_rate_suffixObject



6
7
8
# File 'lib/new_relic/metric_parser/web_service.rb', line 6

def webservice_call_rate_suffix
  'rpm'
end