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
{
    "begin": 0,
    "end": 0,
    "resourceIds": [
        "string"
    ],
    "showSmooth": false,
    "smoothFactor": "number",
    "statKeys": [
        "string"
    ]
}
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

array of string
resourceIds
Required

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

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

array of string
statKeys
Required

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