Sha256: 9ed61ed14332aec28454058ad5adabaa75cde3fd1c38533c0aae40e26d54f5d2

Contents?: true

Size: 577 Bytes

Versions: 66

Compression:

Stored size: 577 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.

require 'new_relic/metric_parser'
# The metric where the mongrel queue time is stored
module NewRelic
  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

66 entries across 66 versions & 2 rubygems

Version Path
newrelic_rpm-3.6.1.87 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.6.1.86.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.6.1.85.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.6.0.83 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.6.0.78 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
newrelic_rpm-3.6.0.74.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb