1 from dataclasses import dataclass

2 from enum import Enum

3 class AlertSeverity(Enum): INFO='info'; WARNING='warning'; CRITICAL='critical'

4 class AlertState(Enum): ACTIVE='active'; RESOLVED='resolved'

5@dataclass

6 class AlertRule: name:str=''

7 class Alert: pass

8 class AlertEvaluator: pass

9@dataclass

10 class MonitoringConfig: enabled:bool=True

11@dataclass

12 class WebhookConfig: url:str=''

13@dataclass

14 class WebhookDispatcher: pass