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 MetricSuppliers.NoOpMetric Marker interface for all no-op metrics.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.DelegateRegistryCounter A counter implementation that is aware of both primary and delegate metrics belonging to different registries and able to update metrics in multiple registriesDelegateRegistryHistogram A meter implementation that is aware of both primary and delegate metrics belonging to different registries and able to update metrics in multiple registriesDelegateRegistryMeter A meter implementation that is aware of both primary and delegate metrics belonging to different registries and able to update metrics in multiple registriesDelegateRegistryTimer A timer implementation that is aware of both primary and delegate metrics belonging to different registries and able to update metrics in multiple registriesFilteringSolrMetricReporter ASolrMetricReporterthat supports (prefix) filters.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.MetricSuppliers.NoOpCounterSupplier No-op implementation ofCountersupplier.MetricSuppliers.NoOpGauge No-op implementation ofGauge.MetricSuppliers.NoOpHistogramSupplier No-op implementation ofHistogramsupplier.MetricSuppliers.NoOpMeterSupplier No-op implementation ofMetersupplier.MetricSuppliers.NoOpTimerSupplier No-op implementation ofTimersupplier.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 Helper class for managing registration ofSolrMetricProducer's andSolrMetricReporter's specific to aSolrCoreinstance.SolrCoreReporter AFilteringSolrMetricReporterthat has access to itsSolrCore.SolrDelegateRegistryMetricsContext This class represents a metrics context that is delegate aware in that it is aware of multiple metric registries, a primary and a delegate.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.SolrMetricManager.AndFilter An implementation ofMetricFilterthat selects metrics that match all filters in a list of filters.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 An implementation ofMetricFilterthat selects metrics that match any filter in a list of filters.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.SolrMetricsContext This class represents a metrics context that ties together components with the same life-cycle and provides convenient access to the metric registry. -
Enum Summary Enum Description SolrMetricManager.ResolutionStrategy Potential conflict resolution strategies when attempting to register a new metric that already exists