All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opentelemetry.sdk.metrics.data.SummaryPointData Maven / Gradle / Ivy

There is a newer version: 1.44.1
Show newest version
/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package io.opentelemetry.sdk.metrics.data;

import java.util.List;
import javax.annotation.concurrent.Immutable;

/**
 * Point data for {@link SummaryData}.
 *
 * @since 1.14.0
 */
@Immutable
public interface SummaryPointData extends PointData {
  /** Returns the count of measurements. */
  long getCount();

  /** Returns the sum of measurements. */
  double getSum();

  /**
   * Returns the list of values at different quantiles in the distribution of measurements.
   *
   * 

Note: a quantile 0.0 represents the minimum value in the distribution; a quantile 1.0 * represents the maximum value in the distribution. */ List getValues(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy