Interface TagFactory


@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public interface TagFactory
Creates tags to be used with metrics.

Since:
4.6.0
See Also:
  • Method Details

    • createOptionalTag

      OptionalTag createOptionalTag(String key, String value)
      Parameters:
      key - Should be unique for the 'same information' (tags with the same key are not supported) and descriptive enough for metrics users to understand what the information is. e.g user
      value - Should be the piece of information to convey to the metrics users. e.g username123
      Since:
      4.6.0