public interface NamingConvention
Modifier and Type | Field and Description |
---|---|
static NamingConvention |
camelCase |
static NamingConvention |
dot
This maps to identity because we suggest using dot notation everywhere in Micrometer-instrumented code
|
static NamingConvention |
identity |
static NamingConvention |
snakeCase |
static NamingConvention |
upperCamelCase |
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
name(java.lang.String name,
Meter.Type type) |
java.lang.String |
name(java.lang.String name,
Meter.Type type,
java.lang.String baseUnit) |
default java.lang.String |
tagKey(java.lang.String key) |
default java.lang.String |
tagValue(java.lang.String value) |
static final NamingConvention identity
static final NamingConvention dot
static final NamingConvention snakeCase
static final NamingConvention camelCase
static final NamingConvention upperCamelCase
default java.lang.String name(java.lang.String name, Meter.Type type)
java.lang.String name(java.lang.String name, Meter.Type type, java.lang.String baseUnit)
default java.lang.String tagKey(java.lang.String key)
default java.lang.String tagValue(java.lang.String value)