Comments (3)
Thanks for suggestion!
I'm thinking of two scenarios where this might be useful:
- Your cron job runs as it should (say, once a hour), but you've set up "Period" and "Grace" parameters incorrectly (say, once a day). It's not a huge issue except for when the check actually goes down, it will take longer (~23 hours) until you find out.
In this situation a warning in the dashboard and possibly in the monthly report would be sufficient. - Your "Period" and "Grace" parameters are set up correctly, but something changes on the cron side (the job is e.g. looping infinitely and pinging on each iteration). In this case we would want to be proactive and send a notification.
Which one did you have in mind? Any ideas on how to distinguish between the two?
from healthchecks.
I was thinking about the second scenario. It probably has to be something you can turn on/off for a check, since you still want to support checks for jobs that run at irregular times (but you still want to be notified if it hasn't run within X time).
Perhaps a good solution would be to have the ability to specify "minimum time between runs"?
from healthchecks.
The minimum time between runs could either be defaulted to 0s, in which case it wouldn't solve scenario 1. Or, it could be defaulted to something like 75% of Period, and - in scenario 1 - it would then notify the user that the check had been pinged too frequently, and the user could then change the setting.
I think I'm leaning towards defaulting it to 0s, since it doesn't feel like core-functionality, and it's probably quite likely that users who are trying out the service for the first time would get the warning-notification when they access the check URLs using a browser or Curl.
from healthchecks.
Related Issues (20)
- Integration with PRTG
- Tags and sorting can't work together HOT 1
- Problem with grace period HOT 2
- Enhancement: Red-Hat porting HOT 6
- List of notifications
- Opened by mistake
- Export and import support HOT 1
- Turning off debug mode results in 500 error - 2.9-dev HOT 6
- Pushover integration -- SaaS vs self-hosted versions HOT 1
- SMTP manage command failing in Docker
- Bad Request (400) Error Message on Web GUI HOT 14
- You need to be here
- Get by slug HOT 3
- SMTP Not working for me in v2.9.2 HOT 15
- SMTP session exception HOT 5
- Integrations - ability to make them off by default for new checks HOT 1
- Revert API-breaking changes. HOT 4
- ZoneInfoNotFoundError at `/checks/<guid>/details/` HOT 3
- Support telegram topic
- Add badges for individual checks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from healthchecks.