Enum MetricsDomain

java.lang.Object
java.lang.Enum<MetricsDomain>
io.vertx.micrometer.MetricsDomain
All Implemented Interfaces:
Serializable, Comparable<MetricsDomain>

public enum MetricsDomain extends Enum<MetricsDomain>
Metric domains with their associated prefixes.
  • Enum Constant Details

    • NET_SERVER

      public static final MetricsDomain NET_SERVER
      Net server metrics.
    • NET_CLIENT

      public static final MetricsDomain NET_CLIENT
      Net client metrics.
    • HTTP_SERVER

      public static final MetricsDomain HTTP_SERVER
      Http server metrics.
    • HTTP_CLIENT

      public static final MetricsDomain HTTP_CLIENT
      Http client metrics.
    • DATAGRAM_SOCKET

      public static final MetricsDomain DATAGRAM_SOCKET
      Datagram socket metrics.
    • EVENT_BUS

      public static final MetricsDomain EVENT_BUS
      Event bus metrics.
    • NAMED_POOLS

      public static final MetricsDomain NAMED_POOLS
      Named pools metrics.
    • VERTICLES

      @Deprecated(forRemoval=true) public static final MetricsDomain VERTICLES
      Deprecated, for removal: This API element is subject to removal in a future version.
      as of 5.1, because it's no longer used
      Verticle metrics.
  • Method Details

    • values

      public static MetricsDomain[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MetricsDomain valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getPrefix

      public String getPrefix()
    • toCategory

      public String toCategory()