TranslatorSRI / NodeNormalization

Service that produces Translator compliant nodes given a curie
MIT License
10 stars 6 forks source link

Add GitHub Action to make sure that NodeNorm instances are online #161

Open gaurav opened 1 year ago

gaurav commented 1 year ago

This would run an example query every hour or so, and send out an e-mail or another notification if the query fails.

gaurav commented 1 year ago

We could also use UptimeRobot, but we'd have to get a premium account so that we could send POST content and (hopefully) check the output to make sure that some correct data is being returned.

cbizon commented 1 year ago

FWIW, we do have an uptimerobot checking the gets

gaurav commented 2 months ago

FWIW, we do have an uptimerobot checking the gets

Yeah, but I don't think it can check whether we're getting back normalized identifiers -- just that the frontend is up. That can catch when a database is fully offline, but if a database has been fully or partially emptied, we'll return "null" for some identifiers, which won't be caught by UptimeRobot (unless there is POST result validation features I'm unaware of).

serverless-mom commented 2 months ago

Full disclosure: I found this issue searching for stuff about availability monitoring, trying to promote Checkly. I don't normally post promotional messages in GitHub issues, but do know that it can do exactly this.

Checkly does have a free tier and can do validation of POST results, in fact I'm literally publishing a blog post about this process today.

I won't even share a link here as I'm not trying to be spammy, if this comment is annoying please feel free to delete it.