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 /monitor endpoint for service health checks #644

Closed
shmorri opened this issue Feb 20, 2020 · 3 comments
Closed

Add /monitor endpoint for service health checks #644

shmorri opened this issue Feb 20, 2020 · 3 comments
Milestone

Comments

@shmorri
Copy link
Contributor

shmorri commented Feb 20, 2020

Customers often ask about endpoints that can be used for health checks for all services. We should add a /monitor endpoint that can easily check their status.

@yurem suggested the following options:

  • Simple lightweight rest based ot servler based application (war)
  • cgi-bin python script
  • light python or node based server.
    This new service should be deployed by setup ( in enterprise edition to each server). It should gather status information about all installed services and return to client
@yurem yurem added this to the 4.2 milestone Feb 20, 2020
@devrimyatar
Copy link
Collaborator

This application can be written with Gunicorn: https://gunicorn.org/
It is has no dependency on Ubuntu and CentOS containers, very light and extremely fast

@devrimyatar
Copy link
Collaborator

We can combine this issue and #102

@yurem yurem modified the milestones: 4.2, 4.3 May 26, 2020
@devrimyatar
Copy link
Collaborator

We have health check for all servers. A minimalist web application can both serve:
(1) As viewing health status of servers on /monitor
(2) And if server fails, starts automatically, and display stderr on web ui in case flailed to start

We can both use gunicron and bottlepy for this project. gunicorn is a general purpose wsgi web servers, whereas bottlepy is a single file and single threaded web framework. gunicorn needs installation of pypi package, but bottlepy does not. In my opinion bottlepy can be used for this project since /monitor endpoint won't need multiple access.

@shmorri shmorri closed this as completed Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants