Costruttore health check
Genera template per l'endpoint /health per il monitoraggio delle applicazioni.
Parametri health check
Integrazioni dipendenze
Risposta JSON /health simulata
{
"status": "OK",
"service": "KitLocal Core Service",
"version": "1.0.0",
"timestamp": "1970-01-01T00:00:00.000Z",
"uptimeSeconds": 3600,
"dependencies": {
"database": {
"status": "up",
"latencyMs": 12
},
"cache_redis": {
"status": "up",
"latencyMs": 2
}
},
"system": {
"cpuPercent": 45,
"memoryUsedMb": 256
}
}Compatibile con probe HTTP readiness/liveness di Kubernetes (HTTP 200 OK vs 503 Service Unavailable).