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