# Functions
NewAlertEvaluator creates a new alert evaluator.
NewAlertMonitor creates a new alert monitor with default implementations.
NewConsecutiveFailureAlert creates a new consecutive failure alert with defaults.
NewHTTPAlertNotifier creates a new HTTP-based alert notifier.
NewRedisAlertStore creates a new Redis-backed alert store.
No description provided by the author
NotifierWithTimeout sets the timeout for alert notifications.
WithAlertThresholds sets the percentage thresholds at which to send alerts.
WithAutoDisableFailureCount sets the number of consecutive failures before auto-disabling.
WithDisabler sets the destination disabler for the monitor.
WithEvaluator sets the alert evaluator for the monitor.
WithLogger sets the logger for the monitor.
WithNotifier sets the alert notifier for the monitor.
WithStore sets the alert store for the monitor.
# Structs
ConsecutiveFailureAlert represents an alert for consecutive failures.
ConsecutiveFailureData represents the data needed for a consecutive failure alert.
DeliveryAttempt represents a single delivery attempt.
# Interfaces
Alert represents any alert that can be sent.
AlertEvaluator determines when alerts should be triggered.
AlertMonitor is the main interface for handling delivery attempt alerts.
AlertNotifier sends alerts to configured destinations.
AlertStore manages alert-related data persistence.
DestinationDisabler handles disabling destinations.
# Type aliases
AlertOption is a function that configures an AlertConfig.
NotifierOption configures an AlertNotifier.