public interface MetricsMeterFactory extends MetricsFactory
Modifier and Type | Method and Description |
---|---|
MetricsMeter |
createMeter(Class<?> origin,
String name,
String eventType,
TimeUnit rate)
Create a MetricsMeter instance.
|
registered
MetricsMeter createMeter(Class<?> origin, String name, String eventType, TimeUnit rate)
origin
- The class that instantiate the metricname
- A human readable, short name of the metric.eventType
- the plural name of the event the meter is measuring (e.g., "requests"
)rate
- the scale unit for this timer's rate metrics