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