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

    Constructors
    Constructor
    Description
     
    WavefrontNamingConvention(String namePrefix, io.micrometer.core.instrument.config.NamingConvention delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    name(String name, io.micrometer.core.instrument.Meter.Type type, String baseUnit)
    Valid 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, wait

    Methods inherited from interface io.micrometer.core.instrument.config.NamingConvention

    name
  • Constructor Details

    • WavefrontNamingConvention

      public WavefrontNamingConvention(@Nullable String namePrefix)
    • 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:
      name in interface io.micrometer.core.instrument.config.NamingConvention
    • tagKey

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

      public String tagValue(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