Class SolrMetricsContext

java.lang.Object
org.apache.solr.metrics.SolrMetricsContext
Direct Known Subclasses:
SolrDelegateRegistryMetricsContext

public class SolrMetricsContext extends Object
This class represents a metrics context that ties together components with the same life-cycle and provides convenient access to the metric registry.

Additionally it's used for registering and reporting metrics specific to the components that use the same instance of context.