Enum Class AggregationTemporalityStrategy

java.lang.Object
java.lang.Enum<AggregationTemporalityStrategy>
io.arconia.opentelemetry.autoconfigure.metrics.exporter.AggregationTemporalityStrategy
All Implemented Interfaces:
Serializable, Comparable<AggregationTemporalityStrategy>, Constable

public enum AggregationTemporalityStrategy extends Enum<AggregationTemporalityStrategy>
The temporality of the aggregation of metrics.
  • Enum Constant Details

    • CUMULATIVE

      public static final AggregationTemporalityStrategy CUMULATIVE
      All instruments will have cumulative temporality.
      See Also:
      • AggregationTemporalitySelector.alwaysCumulative()
    • DELTA

      public static final AggregationTemporalityStrategy DELTA
      Counter (sync and async) and histograms will be delta, up-down counters (sync and async) will be cumulative.
      See Also:
      • AggregationTemporalitySelector.deltaPreferred()
    • LOW_MEMORY

      public static final AggregationTemporalityStrategy LOW_MEMORY
      Sync counter and histograms will be delta, async counter and up-down counters (sync and async) will be cumulative.
      See Also:
      • AggregationTemporalitySelector.lowMemory()
  • Method Details

    • values

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