Missing Datapoint
The following payload creates a Missing DataPoint alert. This alert type fires when the interval between data point uploads or data point measurements exceeds the requested time. Devices may cache data uploads, uploading infrequently (for example 24 hours), but uploading many measurements (for example, 24 total measurements if sampling every hour). This alert automatically resets when data is reported.
Values:
-
scope.type: Always Resource.
-
scope.value: The stream with wildcard (*) for device id or path components.
-
uploadInterval: Fire if the amount of time between uploads exceeds this interval.
-
uploadTimeUnit: The units of the uploadInterval value—seconds, minutes, hours.
-
readingInterval: Fire if the amount of time between individual samples/reading exceeds this interval. readingInterval}} value—seconds, minutes, hours.
-
reset.disabled: Resets automatically when data is reported, you can disable this by specifying true.
{
"name":"Fleet sensor not reporting",
"type":"Missing DataPoint",
"scope":{
"type":"Resource",
"value":"*/drivestats/voltage"
},
"fire":{
"parameters":{
"readingTimeUnit":"seconds",
"uploadTimeUnit":"minutes",
"uploadInterval":"1",
"readingInterval":"5"
}
},
"reset": {
"disabled": true
}
}