-
Notifications
You must be signed in to change notification settings - Fork 248
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
/health API endpoint needed #194
Comments
Alternatively, you could have the root path |
+1 would love to support this for my k8s deployment |
Related: #261 . |
I think the service should have a liveness endpoint ( |
Unfortunately it seems even with the newer |
Registering a health handler is now supported upstream: paritytech/jsonrpsee#763 |
I will start working on this in the upcoming weeks. The health probes and metrics endpoints should be on a separate port anyway so I don't think we need to change the rpc code too much. The plan is to start a warp server that serves the right routes. |
Added in #513. |
Thanks @Mirko-von-Leipzig ! |
When running this in a cloud or containerized context, it's necessary to have an endpoint that returns 200 if the pathfinder node is healthy. We can define healthy however we like but I'd say anything in syncing / synced mode would count.
The text was updated successfully, but these errors were encountered: