A brief description of the implemented healthcheck

Healtcheck

To monitor the health of your own installation, Psono provides a health check ressource.

GET /healthcheck/

It will (in case of a success) return a HTTP status code 200 and a JSON of the following format:

{
    "time_sync":{
        "healthy":true
    },
    "db_read":{
        "healthy":true
    },
    "db_sync":{
        "healthy":true
    }
}

Any other HTTP status code is considered “unhealthy”.

Edit me
Tags: server