Package version:

Interface MetricValue

Represents a metric value.

interface MetricValue {
    average?: number;
    count?: number;
    maximum?: number;
    minimum?: number;
    timeStamp: Date;
    total?: number;
}

Properties

average?: number

The average value in the time range.

count?: number

The number of samples in the time range. Can be used to determine the number of values that contributed to the average value.

maximum?: number

The greatest value in the time range.

minimum?: number

The least value in the time range.

timeStamp: Date

The timestamp for the metric value in ISO 8601 format.

total?: number

The sum of all of the values in the time range.