Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support volatile triggers on all devices #929

Open
Pavinati opened this issue Apr 29, 2024 · 0 comments
Open

Support volatile triggers on all devices #929

Pavinati opened this issue Apr 29, 2024 · 0 comments
Labels
app:appengine_api This issue or pull request is about astarte_appengine_api application user experience This issue is about user experience

Comments

@Pavinati
Copy link
Collaborator

It would be good to allow users to create volatile triggers on all devices like we do with triggers from the RealmMagement API.

This would allows frontends to handle a couple of important user cases:

  1. identify devices that misbehave and get forcefully disconnected by Astarte
    By installing a volatile trigger on connections and one for disconnections of all devices, it becomes easy to see if there are devices that constantly disconnecting -> reconnecting in a short amount of time.

  2. monitor for issues in the realm
    By installing a volatile trigger on device errors for all devices the frontend can monitor errors happening on the realm and provide useful insights on the number of devices throwing errors and the most common errors happening in the realm.

  3. identify the device ID of a black-box device
    Devices that do not provide a label with the Astarte device ID are difficult to identify without inspecting the inner working of the device (like through SSH connection to the device itself).
    The user monitor for all device connections within a frontend while connecting its device to Astarte.
    The device will appear within there, making it easy to identify it.

@Pavinati Pavinati added user experience This issue is about user experience app:appengine_api This issue or pull request is about astarte_appengine_api application labels Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:appengine_api This issue or pull request is about astarte_appengine_api application user experience This issue is about user experience
Projects
None yet
Development

No branches or pull requests

1 participant