Interface Tag

All Superinterfaces:
Wrapper

public interface Tag extends Wrapper
Behavior of a tag for further identifying meters.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Tag
    create(String key, String value)
    Creates a new tag using the specified key and value.
    key()
    Returns the tag's key.
    Returns the tag's value.

    Methods inherited from interface io.helidon.metrics.api.Wrapper

    unwrap
  • Method Details

    • create

      static Tag create(String key, String value)
      Creates a new tag using the specified key and value.
      Parameters:
      key - the tag's key
      value - the tag's value
      Returns:
      new Tag representing the key and value
    • key

      String key()
      Returns the tag's key.
      Returns:
      the tag's key
    • value

      String value()
      Returns the tag's value.
      Returns:
      the tag's value