I’m setting up a status page for my app which uses Fauna and I wanted to be able to provide a status monitor for my database - does Fauna have a health check endpoint I can ping to display the up to date health of my database/Fauna?
Hi Luigi,
Ideally just a 200 OK response, similar to how Apollo Server responds to any call made to /.well-known/apollo/server-health
(as documented here) - if the server’s down for any reason, the health check will fail and a remote status tool can update users to let them know there’s an issue with the database.
Is there anything like that at the moment?
James
Hi @jayhoogle,
might be enough?
curl https://db.fauna.com/ping
{ "resource": "Scope write is OK" }
Luigi
@Luigi_Servini that is perfect, exactly what I needed.
Thank you so much for getting back to me so quickly
James