Package org.apache.pinot.common.metrics
Class ControllerMetrics
- java.lang.Object
-
- org.apache.pinot.common.metrics.AbstractMetrics<AbstractMetrics.QueryPhase,ControllerMeter,ControllerGauge,ControllerTimer>
-
- org.apache.pinot.common.metrics.ControllerMetrics
-
public class ControllerMetrics extends AbstractMetrics<AbstractMetrics.QueryPhase,ControllerMeter,ControllerGauge,ControllerTimer>
Metrics for the controller.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.pinot.common.metrics.AbstractMetrics
AbstractMetrics.Gauge, AbstractMetrics.Meter, AbstractMetrics.QueryPhase, AbstractMetrics.Timer
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.common.metrics.AbstractMetrics
_metricPrefix, _metricsRegistry
-
-
Constructor Summary
Constructors Constructor Description ControllerMetrics(String prefix, PinotMetricsRegistry metricsRegistry)ControllerMetrics(PinotMetricsRegistry metricsRegistry)
-
Method Summary
Modifier and Type Method Description protected ControllerGauge[]getGauges()protected ControllerMeter[]getMeters()protected AbstractMetrics.QueryPhase[]getQueryPhases()-
Methods inherited from class org.apache.pinot.common.metrics.AbstractMetrics
addCallbackGauge, addCallbackGaugeIfNeeded, addCallbackTableGaugeIfNeeded, addMeteredGlobalValue, addMeteredGlobalValue, addMeteredTableValue, addMeteredTableValue, addOrUpdateGauge, addPhaseTiming, addPhaseTiming, addTimedTableValue, addTimedValue, addValueToGlobalGauge, addValueToTableGauge, containsGauge, getMeteredTableValue, getMetricsRegistry, getTableName, getValueOfGlobalGauge, getValueOfGlobalGauge, getValueOfPartitionGauge, getValueOfTableGauge, initializeGlobalMeters, removeGauge, removeTableGauge, setValueOfGlobalGauge, setValueOfGlobalGauge, setValueOfPartitionGauge, setValueOfTableGauge
-
-
-
-
Constructor Detail
-
ControllerMetrics
public ControllerMetrics(PinotMetricsRegistry metricsRegistry)
-
ControllerMetrics
public ControllerMetrics(String prefix, PinotMetricsRegistry metricsRegistry)
-
-
Method Detail
-
getQueryPhases
protected AbstractMetrics.QueryPhase[] getQueryPhases()
- Specified by:
getQueryPhasesin classAbstractMetrics<AbstractMetrics.QueryPhase,ControllerMeter,ControllerGauge,ControllerTimer>
-
getMeters
protected ControllerMeter[] getMeters()
- Specified by:
getMetersin classAbstractMetrics<AbstractMetrics.QueryPhase,ControllerMeter,ControllerGauge,ControllerTimer>
-
getGauges
protected ControllerGauge[] getGauges()
- Specified by:
getGaugesin classAbstractMetrics<AbstractMetrics.QueryPhase,ControllerMeter,ControllerGauge,ControllerTimer>
-
-