My point was - if you're going to rely on a SaaS (Pagerduty), why not just use one that includes health check monitoring (ie cronitor) and cut out this self hosted webhook service?
Deadcheck handles calculating the snooze durations for you. It could be a library as well.
Deadcheck handles calculating the snooze durations for you. It could be a library as well.