Interface NamingConvention
public interface NamingConvention
Monitoring systems make different recommendations regarding naming convention.
Also, many systems have constraints on valid characters that may appear in a tag key/value or metric name. While it is recommended to choose tag keys/values that are absent special characters that are invalid on any common metrics backend, sometimes this is hard to avoid (as in the format of the URI template for parameterized URIs like /api/person/{id} emanating from Spring Web).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NamingConvention
static final NamingConvention
This maps to identity because we suggest using dot notation everywhere in Micrometer-instrumented codestatic final NamingConvention
static final NamingConvention
static final NamingConvention
static final NamingConvention
-
Method Summary
-
Field Details
-
identity
-
dot
This maps to identity because we suggest using dot notation everywhere in Micrometer-instrumented code -
snakeCase
-
camelCase
-
upperCamelCase
-
slashes
- Since:
- 1.1.0
-
-
Method Details
-
name
-
name
-
tagKey
-
tagValue
-