apifrom.healthο
Health check module for APIFromAnything.
This module provides health check endpoints and utilities to monitor the health of the application and its dependencies.
Overviewο
Functions
Functionsο
Check the database connection health.
- param db_url:
Optional database URL to check
- returns:
Dict with database health status
Check the Redis connection health.
- param redis_url:
Optional Redis URL to check
- returns:
Dict with Redis health status
Get application health metrics.
- returns:
Dict with application health metrics
Get a complete health check of the application and its dependencies.
- returns:
Dict with complete health check information
Get a simple health check response.
- returns:
Dict with simple health status
Get system health metrics.
- returns:
Dict with system health metrics