Class ImmutableSummaryPointData

java.lang.Object
io.opentelemetry.sdk.metrics.internal.data.ImmutableSummaryPointData
All Implemented Interfaces:
PointData, SummaryPointData
Direct Known Subclasses:
AutoValue_ImmutableSummaryPointData

@Immutable public abstract class ImmutableSummaryPointData extends Object implements SummaryPointData
A single data point that summarizes the values in a time series of numeric values.

This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

  • Constructor Details

    • ImmutableSummaryPointData

      ImmutableSummaryPointData()
  • Method Details

    • create

      public static ImmutableSummaryPointData create(long startEpochNanos, long epochNanos, Attributes attributes, long count, double sum, List<ValueAtQuantile> percentileValues)
      Creates a SummaryPointData.
      Parameters:
      startEpochNanos - (optional) The starting time for the period where this point was sampled.
      epochNanos - The ending time for the period when this value was sampled.
      attributes - The set of attributes associated with this point.
      count - The number of measurements being sumarized.
      sum - The sum of measuremnts being sumarized.
      percentileValues - Calculations of percentile values from measurements.