ヘルスチェックビルダー
アプリケーション監視用の/healthエンドポイントのテンプレートを生成します。
ヘルスチェックパラメーター
依存関係の連携
シミュレートされた /health JSONレスポンス
{
"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
}
}KubernetesのReadiness/Liveness HTTPプローブと互換性があります (HTTP 200 OK または 503 Service Unavailable)。