Class YammerMetricsFactory
- java.lang.Object
-
- org.apache.pinot.plugin.metrics.yammer.YammerMetricsFactory
-
- All Implemented Interfaces:
PinotMetricsFactory
public class YammerMetricsFactory extends Object implements PinotMetricsFactory
-
-
Constructor Summary
Constructors Constructor Description YammerMetricsFactory()
-
Method Summary
Modifier and Type Method Description StringgetMetricsFactoryName()PinotMetricsRegistrygetPinotMetricsRegistry()voidinit(PinotConfiguration metricsConfiguration)<T> PinotGauge<T>makePinotGauge(Function<Void,T> condition)PinotJmxReportermakePinotJmxReporter(PinotMetricsRegistry metricsRegistry)PinotMetricNamemakePinotMetricName(Class<?> klass, String name)
-
-
-
Method Detail
-
init
public void init(PinotConfiguration metricsConfiguration)
- Specified by:
initin interfacePinotMetricsFactory
-
getPinotMetricsRegistry
public PinotMetricsRegistry getPinotMetricsRegistry()
- Specified by:
getPinotMetricsRegistryin interfacePinotMetricsFactory
-
makePinotMetricName
public PinotMetricName makePinotMetricName(Class<?> klass, String name)
- Specified by:
makePinotMetricNamein interfacePinotMetricsFactory
-
makePinotGauge
public <T> PinotGauge<T> makePinotGauge(Function<Void,T> condition)
- Specified by:
makePinotGaugein interfacePinotMetricsFactory
-
makePinotJmxReporter
public PinotJmxReporter makePinotJmxReporter(PinotMetricsRegistry metricsRegistry)
- Specified by:
makePinotJmxReporterin interfacePinotMetricsFactory
-
getMetricsFactoryName
public String getMetricsFactoryName()
- Specified by:
getMetricsFactoryNamein interfacePinotMetricsFactory
-
-