Skip to content

Monitoring and logs ​

Covers probes, metrics, audit logs and async task observability.

Monitoring

Health checks ​

PathPurpose
/healthzProcess liveness, plain JSON
/readyzDatabase and Redis readiness, 503 when unavailable

Metrics endpoint ​

/metrics exposes Prometheus metrics. By default only loopback and private networks may scrape it. Configure a token or allowed CIDRs:

  • SECURITY_METRICS_TOKEN: when set, requires Authorization: Bearer <token>
  • SECURITY_METRICS_ALLOWED_CIDRS: when no token is set, allows only these TCP peer networks

The server reads RemoteAddr and does not trust a spoofable X-Forwarded-For.

Log types ​

LogContent
Operation logWho did what and when
Login logSuccess and failure records with source IP
Audit logBefore and after values for key data changes

Async task observability ​

Queue and scheduled task execution records are available in the admin UI. Failed jobs land in system_failed_jobs and support filtering and replay.

Next steps ​