public interface MetricFactory
Factory to create timed metric counters.
-
Method Summary
Modifier and TypeMethodDescriptioncreateCountMetric
(String name) Create a counter metric.createQueryPlanMetric
(Class<?> type, String label, ProfileLocation profileLocation, String sql) Create a Timed metric.createTimedMetric
(String name) Create a Timed metric.createTimedMetricMap
(String name) Create a timed metric group.static MetricFactory
get()
Return the factory instance.
-
Method Details
-
get
Return the factory instance. -
createTimedMetricMap
Create a timed metric group. -
createTimedMetric
Create a Timed metric. -
createCountMetric
Create a counter metric. -
createQueryPlanMetric
QueryPlanMetric createQueryPlanMetric(Class<?> type, String label, ProfileLocation profileLocation, String sql) Create a Timed metric.
-