U
    é·h  ã                   @   s$   d Z ddlmZ G dd„ deƒZdS )zÁ
Monitoring Application Configuration

This module defines the configuration for the monitoring Django application,
which handles system monitoring, health checks, and dashboard functionality.
é    )Ú	AppConfigc                   @   s$   e Zd ZdZdZdZdZdd„ ZdS )ÚMonitoringConfigaÜ  
    Configuration class for the monitoring application.
    
    This class defines the monitoring application settings and handles
    application initialization, including setting up signal handlers
    for system monitoring and health checks.
    
    Attributes:
        default_auto_field (str): The default primary key field type for models
        name (str): The application name used by Django
        verbose_name (str): Human-readable name for the application
    zdjango.db.models.BigAutoFieldzapps.monitoringzSystem Monitoringc                 C   s&   zddl }W n tk
r    Y nX dS )a  
        Perform initialization when the application is ready.
        
        This method is called once Django has loaded all applications
        and models. It imports signal handlers to set up automatic
        monitoring and health check processes.
        r   N)Zapps.monitoring.signalsÚImportError)ÚselfÚapps© r   ú9/var/www/html/StreamProcessor/src/apps/monitoring/apps.pyÚready"   s    	zMonitoringConfig.readyN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Údefault_auto_fieldÚnameÚverbose_namer	   r   r   r   r   r      s
   r   N)r   Údjango.appsr   r   r   r   r   r   Ú<module>   s   