Package org.apache.solr.metrics
The
SolrCoreMetricManager is responsible for
collecting metrics from SolrMetricProducer's
and exposing metrics to SolrMetricReporter's.-
Interface Summary Interface Description SolrMetricProducer Used by objects that expose metrics throughSolrMetricManager. -
Class Summary Class Description AggregateMetric This class is used for keeping several partial named values and providing useful statistics over them.AggregateMetric.Update Simple class to represent current value and how many times it was set.AltBufferPoolMetricSet This is an alternative implementation ofBufferPoolMetricSetthat doesn't need an MBean server.FilteringSolrMetricReporter MetricsMap Dynamically constructed map of metrics, intentionally different fromMetricSetwhere each metric had to be known in advance and registered separately inMetricRegistry.MetricSuppliers Helper class for constructing instances ofMetricRegistry.MetricSupplierbased on plugin configuration.MetricSuppliers.DefaultCounterSupplier DefaultCountersupplier.MetricSuppliers.DefaultHistogramSupplier Default supplier ofHistograminstances, with configurable reservoir.MetricSuppliers.DefaultMeterSupplier DefaultMetersupplier.MetricSuppliers.DefaultTimerSupplier Default supplier ofTimerinstances, with configurable clock and reservoir.OperatingSystemMetricSet This is an extended replacement forFileDescriptorRatioGauge- that class uses reflection and doesn't work under Java 9.SolrCoreContainerReporter ASolrMetricReporterthat has access to itsCoreContainer.SolrCoreMetricManager Responsible for collecting metrics fromSolrMetricProducer's and exposing metrics toSolrMetricReporter's.SolrCoreReporter AFilteringSolrMetricReporterthat has access to itsSolrCore.SolrMetricInfo Wraps meta-data for a metric.SolrMetricManager This class maintains a repository of namedMetricRegistryinstances, and provides several helper methods for managing various aspects of metrics reporting: registry creation, clearing and removal, creation of most common metric implementations, management ofSolrMetricReporter-s specific to a named registry.MetricRegistryinstances are automatically created when first referenced by name.SolrMetricManager.AndFilter SolrMetricManager.GaugeWrapper<T> This is a wrapper forGaugemetrics, which are usually implemented as lambdas that often keep a reference to their parent instance.SolrMetricManager.OrFilter SolrMetricManager.PrefixFilter An implementation ofMetricFilterthat selects metrics with names that start with one of prefixes.SolrMetricManager.RegexFilter An implementation ofMetricFilterthat selects metrics with names that match regular expression patterns.SolrMetricReporter Interface for 'pluggable' metric reporters.