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

feat(rest): Add /health endpoint to rest api #1988

Closed
alrevuelta opened this issue Sep 4, 2023 · 1 comment
Closed

feat(rest): Add /health endpoint to rest api #1988

alrevuelta opened this issue Sep 4, 2023 · 1 comment
Assignees
Labels
E:REST API service node See https://github.com/waku-org/pm/issues/82 for details

Comments

@alrevuelta
Copy link
Contributor

Problem

nwaku has a bunch of things happening under the hood that are required for the node to work properly. Some of them are:

  • healthy amount of peers
  • rln in sync to the latest head
  • all services mounted and running

However we don't have a /health endpoint that returns such information. We need some kind of readyness probe.

Suggested solution

  • Add new /health endpoint in the rest api that returns true if the node is ready and false if not. By now its ok to just check if rln is in sync with the latest head. Similar to this
@NagyZoltanPeter
Copy link
Contributor

Weekly Update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E:REST API service node See https://github.com/waku-org/pm/issues/82 for details
Projects
Archived in project
Development

No branches or pull requests

3 participants