Sha256: 6bcbae543aaa06c434fea7d91b84e87b8fd258e8caee850d93bfba682a942c29
Contents?: true
Size: 502 Bytes
Versions: 18
Compression:
Stored size: 502 Bytes
Contents
class NewRelic::MetricParser::Solr < NewRelic::MetricParser::MetricParser def short_name if segments[1] == "org.apache.solr.search.SolrIndexSearcher" "SolrIndexSearcher" elsif segments[1] =~ /org\.apache\.solr\.handler\.component/ segments[1].split(".")[-1] else super end end def legend_name if all? 'Solr' else super end end def category; 'Solr Query'; end private def all? name == Metric::SOLR_ALL_WEB end end
Version data entries
18 entries across 18 versions & 1 rubygems