Sha256: 442de3f4c16277a0cd73182abf2680cf413f3a39c8a6c73f3d13cff1ffd30bd9

Contents?: true

Size: 595 Bytes

Versions: 7

Compression:

Stored size: 595 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

# The metric where the mongrel queue time is stored
module NewRelic
  autoload :MetricParser, 'new_relic/metric_parser'
  module MetricParser
    class WebFrontend < NewRelic::MetricParser::MetricParser
      def short_name
        if segments.last == 'Average Queue Time'
          'Mongrel Average Queue Time'
        else
          super
        end
      end
      def legend_name
        'Mongrel Wait'
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
newrelic_rpm-4.0.0.332 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.18.1.330 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.18.0.329 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.17.2.327 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.17.1.326 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.17.0.325 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.16.3.323 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb