MetricsFactory instead@Deprecated public class StatsFactoryImpl extends java.lang.Object implements StatsFactory
StatsFactory backed by a StatsReporter.| Constructor and Description |
|---|
StatsFactoryImpl(StatsReporter reporter)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Counter |
createCounter(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> tags)
Deprecated.
Creates a counter with the given gauge name and set of tags.
|
Gauge |
createGauge(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> tags)
Deprecated.
Creates a gauge with the given gauge name and set of tags.
|
Timer |
createTimer(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> tags)
Deprecated.
Creates a timer with the given timer name and set of tags.
|
public StatsFactoryImpl(StatsReporter reporter)
public Counter createCounter(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)
MetricsFactorycreateCounter in interface MetricsFactoryname - the counter nametags - the tags to add to the counterCounter with a metric name following the counter name and tagsMetrics.addTagsToMetricName(String, Map)public Timer createTimer(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)
MetricsFactorycreateTimer in interface MetricsFactoryname - the timer nametags - the tags to add to the timerTimer with a metric name following the counter name and tagsMetrics.addTagsToMetricName(String, Map)public Gauge createGauge(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)
MetricsFactorycreateGauge in interface MetricsFactoryname - the gauge nametags - the tags to add to the gaugeGauge with a metric name following the gauge name and tagsMetrics.addTagsToMetricName(String, Map)