Live data from Hacker News

Ask HN: How to do simple heartbeat monitoring?

news.ycombinator.com

21–30 of 86 posts

Re: Ask HN: How to do simple heartbeat monitoring?

#21
post #3

Believe you can do this in Signoz: https://signoz.io/docs/monitor-http-endpoints/

ah, this is the answer I was hoping for. thank you!

on second read, this is something that is set up on the service-side. I.e. if our service goes down, we would also stop sending data to Signoz Cloud. We wouldn't be able to run a status check, let alone send it to signoz cloud.

Re: Ask HN: How to do simple heartbeat monitoring?

#26
post #18

You need to implement a deadman switch. For example if using Prometheus you can configure it to access an HTTP endpoint of a deadman switch service every X seconds. When that service detects you have not accessed it in some time it will alert you. For example: https://blog.ediri.io/how-to-set-up-a-dead-mans-switch-in-pr...

And now you need to monitor the deadman switch service!

Oh, you just run two instances of those and point them at each other.

Re: Ask HN: How to do simple heartbeat monitoring?

#30

Earlier quoted context omitted.

ah, this is the answer I was hoping for. thank you!

on second read, this is something that is set up on the service-side. I.e. if our service goes down, we would also stop sending data to Signoz Cloud. We wouldn't be able to run a status check, let alone send it to signoz cloud.

hey Signoz maintainer here. You can set up alerts to send notifications when there is data missing from your services for configurable periods of time. For example, alert if the data goes missing for the last 5 minutes. Yet to update this in docs, but please find some info here: https://signoz.io/blog/community-update-35/#upgraded-functio...
Post reply on HN