Sha256: 06431543ccca71d1e0b3ce89a1c3fdef1da85becf546ff235a2ce62c9b791983

Contents?: true

Size: 703 Bytes

Versions: 38

Compression:

Stored size: 703 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/java_parser'
module NewRelic
  module MetricParser
    class Java < NewRelic::MetricParser::MetricParser
      JavaParser
      def initialize(name)
        super
        if segments.length > 2
          self.extend NewRelic::MetricParser::JavaParser
        end
      end

      def pie_chart_label
        short_name
      end

      def tooltip_name
        developer_name
      end

      def full_class_name
        segment_1
      end

      def method_name
        segment_2
      end

    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
newrelic_rpm-3.9.1.236 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.9.0.229 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.8.1.221 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.8.0.218 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.3.204 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.3.199 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.2.195 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.2.192 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.2.190.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.1.188 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.1.182 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.1.180 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.0.177 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.7.0.174.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.6.9.171 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.6.8.168 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.6.8.164 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.6.7.159 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.6.7.159.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
newrelic_rpm-3.6.7.152 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb