Package io.micrometer.wavefront
Class WavefrontNamingConvention
java.lang.Object
io.micrometer.wavefront.WavefrontNamingConvention
- All Implemented Interfaces:
io.micrometer.core.instrument.config.NamingConvention
public class WavefrontNamingConvention
extends Object
implements io.micrometer.core.instrument.config.NamingConvention
Naming convention for Wavefront.
- Since:
- 1.0.0
-
Field Summary
Fields inherited from interface io.micrometer.core.instrument.config.NamingConvention
camelCase, dot, identity, slashes, snakeCase, upperCamelCase -
Constructor Summary
ConstructorsConstructorDescriptionWavefrontNamingConvention(String namePrefix)WavefrontNamingConvention(String namePrefix, io.micrometer.core.instrument.config.NamingConvention delegate) -
Method Summary
Modifier and TypeMethodDescriptionValid characters are: a-z, A-Z, 0-9, hyphen ("-"), underscore ("_"), dot (".").Valid characters are: alphanumeric, hyphen ("-"), underscore ("_"), dot (".")We recommend enclosing tag values with double quotes (" ").Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micrometer.core.instrument.config.NamingConvention
name
-
Constructor Details
-
WavefrontNamingConvention
-
WavefrontNamingConvention
public WavefrontNamingConvention(@Nullable String namePrefix, io.micrometer.core.instrument.config.NamingConvention delegate)
-
-
Method Details
-
name
public String name(String name, io.micrometer.core.instrument.Meter.Type type, @Nullable String baseUnit)Valid characters are: a-z, A-Z, 0-9, hyphen ("-"), underscore ("_"), dot ("."). Forward slash ("/") and comma (",") are allowed if metricName is enclosed in double quotes.- Specified by:
namein interfaceio.micrometer.core.instrument.config.NamingConvention
-
tagKey
Valid characters are: alphanumeric, hyphen ("-"), underscore ("_"), dot (".")- Specified by:
tagKeyin interfaceio.micrometer.core.instrument.config.NamingConvention
-
tagValue
We recommend enclosing tag values with double quotes (" "). If you surround the value with quotes any character is allowed, including spaces. To include a double quote, escape it with a backslash. The backslash cannot be the last character in the tag value.- Specified by:
tagValuein interfaceio.micrometer.core.instrument.config.NamingConvention
-