Class WavefrontNamingConvention

  • All Implemented Interfaces:
    io.micrometer.core.instrument.config.NamingConvention

    public class WavefrontNamingConvention
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String name​(java.lang.String name, io.micrometer.core.instrument.Meter.Type type, java.lang.String baseUnit)
      Valid characters are: a-z, A-Z, 0-9, hyphen ("-"), underscore ("_"), dot (".").
      java.lang.String tagKey​(java.lang.String key)
      Valid characters are: alphanumeric, hyphen ("-"), underscore ("_"), dot (".")
      java.lang.String tagValue​(java.lang.String value)
      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, wait
      • Methods inherited from interface io.micrometer.core.instrument.config.NamingConvention

        name
    • Constructor Detail

      • WavefrontNamingConvention

        public WavefrontNamingConvention​(@Nullable
                                         java.lang.String namePrefix)
      • WavefrontNamingConvention

        public WavefrontNamingConvention​(@Nullable
                                         java.lang.String namePrefix,
                                         io.micrometer.core.instrument.config.NamingConvention delegate)
    • Method Detail

      • name

        public java.lang.String name​(java.lang.String name,
                                     io.micrometer.core.instrument.Meter.Type type,
                                     @Nullable
                                     java.lang.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:
        name in interface io.micrometer.core.instrument.config.NamingConvention
      • tagKey

        public java.lang.String tagKey​(java.lang.String key)
        Valid characters are: alphanumeric, hyphen ("-"), underscore ("_"), dot (".")
        Specified by:
        tagKey in interface io.micrometer.core.instrument.config.NamingConvention
      • tagValue

        public java.lang.String tagValue​(java.lang.String value)
        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:
        tagValue in interface io.micrometer.core.instrument.config.NamingConvention