Logging and monitoring
The service logs to stdout in JSON format. Monitoring solutions as e.g. Elasticsearch can be attached.
The logging can be enabled as described in setup.
Health endpoints
Packaging Control provides the standard Nexeed health endpoints
-
{paco-root-url}/health
-
{paco-root-url}/health/ready
-
{paco-root-url}/health/startup
-
{paco-root-url}/health/live
-
{paco-root-url}/ping
The health endpoints have different responses depending on the authentication. The unauthenticated response only contains the overall status.
{
"health": "healthy"
}
The authenticated response contains details about errors. The health endpoint does not send back an authentication challenge so the browser gets the unauthenticated response by default.