Package | Description |
---|---|
org.apache.solr.util.stats |
Utilities for collecting statistics
|
Modifier and Type | Field and Description |
---|---|
static MetricUtils.PropertyFilter |
MetricUtils.PropertyFilter.ALL |
Modifier and Type | Method and Description |
---|---|
static void |
MetricUtils.convertMetric(String n,
com.codahale.metrics.Metric metric,
MetricUtils.PropertyFilter propertyFilter,
boolean skipHistograms,
boolean skipAggregateValues,
boolean compact,
boolean simple,
String separator,
BiConsumer<String,Object> consumer)
Convert a single instance of metric into a map or flattened object.
|
static void |
MetricUtils.convertTimer(String name,
com.codahale.metrics.Timer timer,
MetricUtils.PropertyFilter propertyFilter,
boolean skipHistograms,
boolean simple,
String separator,
BiConsumer<String,Object> consumer)
Convert a
Timer to a map. |
static void |
MetricUtils.toMaps(com.codahale.metrics.MetricRegistry registry,
List<com.codahale.metrics.MetricFilter> shouldMatchFilters,
com.codahale.metrics.MetricFilter mustMatchFilter,
MetricUtils.PropertyFilter propertyFilter,
boolean skipHistograms,
boolean skipAggregateValues,
boolean compact,
boolean simple,
BiConsumer<String,Object> consumer)
Convert selected metrics to maps or to flattened objects.
|
static void |
MetricUtils.toSolrInputDocuments(com.codahale.metrics.MetricRegistry registry,
List<com.codahale.metrics.MetricFilter> shouldMatchFilters,
com.codahale.metrics.MetricFilter mustMatchFilter,
MetricUtils.PropertyFilter propertyFilter,
boolean skipHistograms,
boolean skipAggregateValues,
boolean compact,
Map<String,Object> metadata,
Consumer<SolrInputDocument> consumer)
Provides a representation of the given metric registry as
SolrInputDocument -s. |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.