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. .. py:currentmodule:: apifrom.health Overview -------- **Functions** * :py:func:`check_database_connection` * :py:func:`check_redis_connection` * :py:func:`get_application_health` * :py:func:`get_complete_health_check` * :py:func:`get_simple_health_check` * :py:func:`get_system_health` Functions --------- .. py:function:: check_database_connection(db_url = None) Check the database connection health. :param db_url: Optional database URL to check :returns: Dict with database health status .. py:function:: check_redis_connection(redis_url = None) Check the Redis connection health. :param redis_url: Optional Redis URL to check :returns: Dict with Redis health status .. py:function:: get_application_health() Get application health metrics. :returns: Dict with application health metrics .. py:function:: get_complete_health_check() Get a complete health check of the application and its dependencies. :returns: Dict with complete health check information .. py:function:: get_simple_health_check() Get a simple health check response. :returns: Dict with simple health status .. py:function:: get_system_health() Get system health metrics. :returns: Dict with system health metrics