Sha256: 951ba72369a88355fdf5fe1e8ec7b01742fcbcb430bd7f792614c7ca278d960a

Contents?: true

Size: 507 Bytes

Versions: 73

Compression:

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

class NewRelic::MetricParser::GC < NewRelic::MetricParser::MetricParser

  def developer_name
    if segments.length == 1
      "GC"
    elsif segment_1 == "cumulative"
      "GC Execution"
    else
      "GC - #{segment_1}"
    end
  end

  def short_name
    if segments.length > 1
      developer_name
    else
      'All GCs'
    end
  end
end

Version data entries

73 entries across 73 versions & 2 rubygems

Version Path
newrelic_rpm-4.0.0.332 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.18.1.330 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.18.0.329 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.17.2.327 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.17.1.326 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.17.0.325 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.16.3.323 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.16.2.321 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.16.1.320 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.16.0.318 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.15.2.317/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.15.2.317 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.15.1.316 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.15.0.314 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.14.3.313 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.14.2.312 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.14.1.311 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.14.0.305 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.13.2.302 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
newrelic_rpm-3.13.1.300 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb