Enum Class MetricSamples.Type

java.lang.Object
java.lang.Enum<MetricSamples.Type>
eu.rarogsoftware.rarog.platform.api.metrics.MetricSamples.Type
All Implemented Interfaces:
Serializable, Comparable<MetricSamples.Type>, Constable
Enclosing class:
MetricSamples

public static enum MetricSamples.Type extends Enum<MetricSamples.Type>
Type of metric.

It is mapped from Prometheus metric types, so we can support Prometheus format.

  • Enum Constant Details

  • Method Details

    • values

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

      public static MetricSamples.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null