INNER CODE UNIT · Python

root_health_check_detailed

SHAdd0WTAka/Zen-Ai-Pentest · api/main.py:854

async def root_health_check_detailed():
    """
    Detaillierter Health Check für alle Services.

    **Alternative:** `GET /api/v1/health/detailed` (empfohlen)
    """
    import redis
    from sqlalchemy import text

    timestamp = _get_timestamp()
    services_status = {}
    overall_status = "healthy"
    any_error = False

    services_status["api"] = {
        "status": "ok",
        "uptime": _get_uptime_seconds(),
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…