dt-stat-query

dt-stat-query
dt-stat-query

Object used to define search criteria for retrieving Stats Data as well as Dynamic Thresholds
The query spec enforces that at least one Resource (Object) and at least one StatKey is specified.
The begin and end values that are used to specify the time window are optional. If
these are not specified the API returns 24 hours of Stats and DT data by default.

JSON Example
{
    "resourceIds": [
        "string"
    ],
    "statKeys": [
        "string"
    ],
    "begin": 0,
    "end": 0,
    "showSmooth": false,
    "smoothFactor": "number"
}
array of string
resourceIds
Required

Collection of Resource identifiers for which Stats and DT values need to be retrieved

array of string
statKeys
Required
Constraints: minItems: 1 maxItems: 2147483647

Collection of StatKeys for which Stats and DT values need to be retrieved

integer As int64 As int64
begin
Optional

The beginning date as a long value of the range of stats to return
Value measures the number of milliseconds since January 1, 1970 00:00:00 UTC

integer As int64 As int64
end
Optional

The ending date as a long value of the range of stats to return
long value is number of milliseconds since January 1, 1970 00:00:00 UTC

boolean
showSmooth
Optional

Flag that indicates whether stats should be smoothened or not. Default value is true

number As double As double
smoothFactor
Optional

The smooth precision, default value is 2.0