Enum Class AggregationTemporality

java.lang.Object
java.lang.Enum<AggregationTemporality>
io.micrometer.registry.otlp.AggregationTemporality
All Implemented Interfaces:
Serializable, Comparable<AggregationTemporality>, Constable

public enum AggregationTemporality extends Enum<AggregationTemporality>
AggregationTemporality defines the way additive values are expressed.
Since:
1.11.0
See Also:
  • Enum Constant Details

    • DELTA

      public static final AggregationTemporality DELTA
      Reported values do not incorporate previous measurements.
    • CUMULATIVE

      public static final AggregationTemporality CUMULATIVE
      Reported values incorporate previous measurements.
  • Method Details

    • values

      public static AggregationTemporality[] 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 AggregationTemporality 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
    • toOtlpAggregationTemporality

      public static io.opentelemetry.proto.metrics.v1.AggregationTemporality toOtlpAggregationTemporality(AggregationTemporality aggregationTemporality)