-
Notifications
You must be signed in to change notification settings - Fork 1
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
Alerting #5
Comments
This is what I did. I ran a cron every 1min in my linux server and get emails alerts:
|
@arieroos if you implement alerts, I think alerting only on the "falling edge" of the signal (i.e. transition from green to orange/red) is much more useful than alerting repeatedly alerting like the above example. In my experience, if I can't address an issue immediately, the flood of e-mails makes me counter-productive. A client-side-only way of doing this would be to make the web interface into a PWA, which makes it installable, and provides a service worker. Then the service worker kan show notifications. https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification Depending on the device, the notifications might not work when the app is put to sleep (e.g. most Androids) but it still has some use, and does not require you to push anything from a server, keeping the implementation simple. |
There is currently no alerting, but it is definitely something to consider. Before we build alerting, we will need to build a way to authorize heartbeats, and only authorized heartbeats will generate alerts. Otherwise we will be opening doors to spam. |
Can heartbeat.sh send out email alerts when no heartbeat has been received for a while? The current documentation doesn’t mention alerts.
The text was updated successfully, but these errors were encountered: