MetricStatistics

MetricStatistics
MetricStatistics
JSON Example
{
    "last_sample": "number",
    "max": "number",
    "max_ts": "string",
    "mean": "number",
    "min": "number",
    "min_ts": "string",
    "num_samples": 0,
    "sum": "number",
    "trend": "number"
}
number As double As double
last_sample
Optional

value of the last sample. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.

number As double As double
max
Optional

maximum value in time series requested. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.

string
max_ts
Optional

timestamp of the minimum value. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.

number As double As double
mean
Optional

arithmetic mean. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.

number As double As double
min
Optional

minimum value in time series requested. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.

string
min_ts
Optional

timestamp of the minimum value. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.

integer As uint32 As uint32
num_samples
Optional

Number of actual data samples. It excludes fake data. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.

number As double As double
sum
Optional

summation of all values. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.

number As double As double
trend
Optional

slope of the data points across the time series requested. trend = (last_value - avg)/avg. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.