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
HealthCheck
API endpoint
#6009
Comments
It's unclear what you'd expect about "crazy going wrong". Other errors (like exchange errors, api key errors, whatever else ...) are pretty difficult to reliably detect, as they can come in quite many different forms, and (if known) are also handled appropriately to avoid crashing the bot - so they won't bubble up to an overarching exception handler. |
Fair point. Would be nice for peace of mind to get the last heartbeat time. |
@xmatthias, what do you think about creating Prometheus exporter which will expose vital metrics? |
I've got no idea what a "prometheus exporter" would imply - which makes it quite difficult to make an informed decision. |
Describe the enhancement
In the docs, I'm not seeing any
/api/v1/healthcheck
endpoint or whatnot (heartbeat specific, not referencingping
). Potentially returning the time of last heartbeat and any errors (if present).This would be highly useful for monitoring and ensuring nothing crazy is going wrong. This would make monitoring from another server much easier and with some simple scripts, could alert the user immediately if either the server or the bot is down.
The text was updated successfully, but these errors were encountered: