Enum Class AggregationType

java.lang.Object
java.lang.Enum<AggregationType>
io.helidon.telemetry.otelconfig.AggregationType
All Implemented Interfaces:
Serializable, Comparable<AggregationType>, Constable

public enum AggregationType extends Enum<AggregationType>
Type of OpenTelemetry metric aggregations.
  • Enum Constant Details

    • DROP

      public static final AggregationType DROP
      Drops all metrics; exports no metrics.
    • DEFAULT

      public static final AggregationType DEFAULT
      Default aggregation for a given instrument type.
    • SUM

      public static final AggregationType SUM
      Aggregates measurements into a double sum or long sum.
    • LAST_VALUE

      public static final AggregationType LAST_VALUE
      Records the last seen measurement as a double aauge or long gauge.
    • EXPLICIT_BUCKET_HISTOGRAM

      public static final AggregationType EXPLICIT_BUCKET_HISTOGRAM
      Aggregates measurements into a histogram using default or explicit bucket boundaries.
    • BASE2_EXPONENTIAL_BUCKET_HISTOGRAM

      public static final AggregationType BASE2_EXPONENTIAL_BUCKET_HISTOGRAM
      Aggregates measurements into a base-2 exponential histogram using default or explicit maximum number of buckets and maximum scale.
  • Method Details

    • values

      public static AggregationType[] 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 AggregationType 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