Class: NewRelic::MetricParser::MemCache
- Inherits:
-
NewRelic::MetricParser
- Object
- NewRelic::MetricParser
- NewRelic::MetricParser::MemCache
- Defined in:
- lib/new_relic/metric_parser/mem_cache.rb
Constant Summary
Constants inherited from NewRelic::MetricParser
Instance Attribute Summary
Attributes inherited from NewRelic::MetricParser
Instance Method Summary collapse
- #developer_name ⇒ Object
- #is_memcache? ⇒ Boolean
-
#short_name ⇒ Object
for MemCache metrics, the short name is actually the full name.
Methods inherited from NewRelic::MetricParser
#apdex_metric_path, #base_metric_name, #call_rate_suffix, #category, for_metric_named, #initialize, #last_segment, #legend_name, #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
#developer_name ⇒ Object
9 10 11 |
# File 'lib/new_relic/metric_parser/mem_cache.rb', line 9 def developer_name "MemCache #{segments[1..-1].join '/'}" end |
#is_memcache? ⇒ Boolean
2 |
# File 'lib/new_relic/metric_parser/mem_cache.rb', line 2 def is_memcache?; true; end |
#short_name ⇒ Object
for MemCache metrics, the short name is actually the full name
6 7 8 |
# File 'lib/new_relic/metric_parser/mem_cache.rb', line 6 def short_name name end |