Class: NewRelic::MetricParser::WebFrontend

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

Overview

The metric where the mongrel queue time is stored

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, #last_segment, #method_missing, parse, #pie_chart_label, #segment_0, #segment_1, #segment_2, #segment_3, #segment_4, #segments, #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

#legend_nameObject



11
12
13
# File 'lib/new_relic/metric_parser/web_frontend.rb', line 11

def legend_name
  'Mongrel Wait'
end

#short_nameObject



4
5
6
7
8
9
10
# File 'lib/new_relic/metric_parser/web_frontend.rb', line 4

def short_name
  if segments.last == 'Average Queue Time'
    'Mongrel Average Queue Time'
  else
    super
  end
end