Blueprint: Device offline notifications
Description
Provide notifications to select emails/ phone numbers when a device goes offline for a given amount or time. Maybe allow for disabling notifications while in developer mode.
Maybe the same could apply to cloud instances, but those just stay running, right?
This would have come in handy when a computer was unknowingly unplugged forcing me to lose data.
Which customers would this be available to
Team + Enterprise Tiers (EE)
Have you provided an initial effort estimate for this issue?
I can not provide an initial effort estimate
Maybe the same could apply to cloud instances, but those just stay running, right?
They are constantly running, correct, we do already have e-mail alerts in place when an instance crashes, so we should be able to extend this infrastructure here? @knolleary thoughts?
This would also tie with #277 infrastructure changes too
Given what we have in place for observability already, it seems sensible to extend email notifications for remote instances as well. I imagine: an instance in developer mode disables all alert notifications, otherwise, alert via email and notifications hub when a device goes offline.
@hardillb what APIs/live data streams do we have that we could feed into for this? Toying with the idea that this is in fact a Blueprint instead, user can then choose from any integration where this gets sent to, rather than hardcoded into FF Platform as a feature and risk potential spam.
@joepavitt the only API we have is the device information returned by something like /api/v1/teams/:teamId/devices or /api/v1/applications/:appicationId/devices which includes a last seen timestamp.
The timestamps are set from the heatbeat messages that can be sent via HTTP to the forge app or via MQTT (The customer CAN NOT subscribe to this MQTT topic)
Following up from discussion with @joepavitt , I'm open to this being a Blueprint.