Package com.lightbend.cinnamon.metric
Interface MetricBackend
-
public interface MetricBackendMetricBackendabstraction to create metrics for instrumented entities.
-
-
Field Summary
Fields Modifier and Type Field Description static MetricBackendNONEEmpty no-opMetricBackend.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricFactorymetricsFor(Identity identity)Create aMetricFactoryfor an instrumented entity with the givenIdentity.
-
-
-
Field Detail
-
NONE
static final MetricBackend NONE
Empty no-opMetricBackend.
-
-
Method Detail
-
metricsFor
MetricFactory metricsFor(Identity identity)
Create aMetricFactoryfor an instrumented entity with the givenIdentity.- Parameters:
identity- identity of instrumented entity- Returns:
- metric factory for the instrumented entity
-
-