public interface Namer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name(Identity identity,
Descriptor descriptor)
Create the full metric key for a metric.
|
java.lang.String |
simpleName(Identity identity,
Descriptor descriptor)
Create the simple name for a metric, without full hierarchy.
|
java.lang.String |
uniqueName(Identity identity,
Descriptor descriptor)
Create the full metric key for a metric, including unique dimensions.
|
java.lang.String name(Identity identity, Descriptor descriptor)
identity
- identity for the instrumented entitydescriptor
- descriptor for the metricjava.lang.String simpleName(Identity identity, Descriptor descriptor)
identity
- identity for the instrumented entitydescriptor
- descriptor for the metricjava.lang.String uniqueName(Identity identity, Descriptor descriptor)
identity
- identity for the instrumented entitydescriptor
- descriptor for the metricCinnamon API. Copyright (c) 2015–2021 Lightbend.