Raxol.Performance.AlertManager (Raxol v2.0.1)

View Source

Advanced alerting system for Raxol performance monitoring.

This module provides comprehensive alerting capabilities:

  • Multi-channel alert delivery (email, Slack, webhooks, SMS)
  • Intelligent alert grouping and deduplication
  • Alert escalation based on severity and duration
  • Integration with external monitoring systems (PagerDuty, Datadog, etc.)
  • Alert acknowledgment and resolution tracking
  • Historical alert analysis and reporting

The AlertManager integrates with AutomatedMonitor to provide real-time notifications when performance issues are detected.

Summary

Functions

Acknowledge an active alert.

Returns a specification to start this module under a supervisor.

Configure alert channels and integrations.

Get historical alert data for analysis.

Get alert statistics and metrics.

Resolve an active alert.

Send a performance alert through configured channels.

Functions

acknowledge_alert(alert_id, user_info)

Acknowledge an active alert.

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

configure_channels(channel_config)

Configure alert channels and integrations.

get_alert_history(time_range \\ :last_24_hours)

Get historical alert data for analysis.

get_alert_stats()

Get alert statistics and metrics.

handle_manager_cast(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.

resolve_alert(alert_id, resolution_info)

Resolve an active alert.

send_alert(alert_data, opts \\ [])

Send a performance alert through configured channels.

start_link(init_opts \\ [])