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

Add the ability to retrieve the last error that occured on a device #994

Open
rbino opened this issue Sep 19, 2024 · 0 comments
Open

Add the ability to retrieve the last error that occured on a device #994

rbino opened this issue Sep 19, 2024 · 0 comments
Labels
enhancement New feature or request user experience This issue is about user experience

Comments

@rbino
Copy link
Collaborator

rbino commented Sep 19, 2024

Right now Data Updater Plant detects if there's something wrong with a specific device (e.g. wrong data type, missing interface etc) and reacts by logging an error and disconnecting the device.

#135 also added support for triggers containing the device errors, but these can be seen only if they're directed to an external backend or if the dashboard is open while the error is happening.

We could, instead, also store in the database details about the last error occured on a specific device. This way operators can debug a device after the fact and have some details about what went wrong. This could be a single entry or (potentially) a log with a reasonably short TTL to provide additional context.

@rbino rbino added enhancement New feature or request user experience This issue is about user experience labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user experience This issue is about user experience
Projects
None yet
Development

No branches or pull requests

1 participant