{% extends "base.html" %}
{% block title %}Monitoring - ICDEV™ Dashboard{% endblock %}
{% block content %}
{% if health_status == 'healthy' %}✓{% elif health_status == 'degraded' %}⚠{% else %}✗{% endif %}
System Status: {{ health_status | upper }}
{% if health_status == 'healthy' %} — All systems operational
{% elif health_status == 'degraded' %} — Some issues detected, review alerts below
{% else %} — Critical issues require immediate attention
{% endif %}
{{ firing_count }}
Firing Alerts
{{ resolved_count }}
Resolved Alerts
{{ unresolved_failures }}
Unresolved Failures
{{ healing_events|length }}
Self-Healing Events
flowchart TD
F[Failure Detected] --> A{Confidence
Level?}
A -->|">= 0.7"| AUTO[Auto-Remediate]
A -->|"0.3 - 0.7"| SUGGEST[Suggest Fix
Await Approval]
A -->|"< 0.3"| ESC[Escalate with
Full Context]
AUTO --> CHECK{"Heals/hr
< 5?"}
CHECK -->|Yes| HEAL[Execute
Remediation]
CHECK -->|No| COOL[Cooldown
10 min]
HEAL --> LOG[Log to
Audit Trail]
SUGGEST --> LOG
ESC --> LOG
style AUTO fill:#1a3a2d,stroke:#28a745,color:#e0e0e0
style ESC fill:#3a1a1a,stroke:#dc3545,color:#e0e0e0
style SUGGEST fill:#3a3a1a,stroke:#ffc107,color:#e0e0e0
Alert Severity Distribution
{% if firing_alerts %}
| Severity |
Title |
Source |
Project |
Auto-Healed |
Created |
{% for alert in firing_alerts %}
| {{ alert.severity }} |
{{ alert.title }} |
{{ alert.source }} |
{% if alert.project_id %}
{{ alert.project_id[:12] }}
{% else %}
—
{% endif %}
|
{% if alert.auto_healed %}
Yes
{% else %}
No
{% endif %}
|
{{ alert.created_at }} |
{% endfor %}
{% else %}
No alerts currently firing — all systems operational.
{% endif %}
| Severity |
Title |
Source |
Project |
Status |
Auto-Healed |
Created |
{% for alert in alerts %}
| {{ alert.severity }} |
{{ alert.title }} |
{{ alert.source }} |
{% if alert.project_id %}
{{ alert.project_id[:12] }}
{% else %}
—
{% endif %}
|
{{ alert.status }} |
{% if alert.auto_healed %}
Yes
{% else %}
No
{% endif %}
|
{{ alert.created_at }} |
{% else %}
| No recent alerts |
{% endfor %}
| Trigger Source |
Pattern |
Action Taken |
Outcome |
Duration (s) |
Escalated To |
Created |
{% for event in healing_events %}
| {{ event.trigger_source }} |
{{ event.pattern_description or '—' }} |
{{ event.action_taken or '—' }} |
{% if event.outcome %}
{{ event.outcome }}
{% else %}
—
{% endif %}
|
{{ event.duration_seconds or '—' }} |
{{ event.escalated_to or '—' }} |
{{ event.created_at }} |
{% else %}
| No self-healing events recorded |
{% endfor %}
{% endblock %}
{% block scripts %}
{% endblock %}