paritytech / bench-bot

ISC License
9 stars 19 forks source link

Implement /health endpoint #69

Closed joao-paulo-parity closed 2 years ago

joao-paulo-parity commented 3 years ago

Implement a /health endpoint and then have automated probes for it. That way we'd be able to tell if the bot is alive or not.

That will be useful for detecting crashes.

Such probes at the moment would have to be ran in the same machine the bot is running since we're not able to reach it from the outside (https://github.com/paritytech/devops/issues/1070).

joao-paulo-parity commented 2 years ago

Probot already provides a /ping route for this