Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add /health endpoint #12

Open
martbhell opened this issue Oct 3, 2019 · 0 comments
Open

Add /health endpoint #12

martbhell opened this issue Oct 3, 2019 · 0 comments

Comments

@martbhell
Copy link
Owner

martbhell commented Oct 3, 2019

That could be used to monitor this awesome service??!!

  • check when schedule was last updated? 🥉 (if too old (except during summer) then sick service?)
  • that the schedule is not empty 🥇
  • that the e2e test passes? 👎
  • that upstream source of schedule is OK 👎
  • that All The Links work 👎
    -??
  • PROFIT

What would use this health check??? If nothing == no need..

Several python pip packages available to help with adding a health API. The first ones I found were for flask. https://github.com/perdy/health-check/blob/master/README.rst says it works standalone.

https://cloud.google.com/appengine/docs/flexible/nodejs/reference/app-yaml#updated_health_checks is probably worth a read too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant