{% extends "base.html" %} {% block title %}Incidents โ€” Ops Hub{% endblock %} {% block extra_css %} {% endblock %} {% block content %} โ† Ops Hub

๐Ÿšจ Incidents

Incident Command ยท MTTR ยท Severity Tracking โ€” {{ classification }}

{% set incidents = data.incidents %} {% set summary = data.summary %}
{{ summary.get('open_count', 0) }}
Open Incidents
{{ summary.get('investigating_count', 0) }}
Under Investigation
{{ summary.get('resolved_24h', 0) }}
Resolved (24h)
{% if summary.get('mttr_minutes') %}{{ summary.get('mttr_minutes')|round(0)|int }}m{% else %}โ€”{% endif %}
Avg MTTR

Active Incidents

{% set active = incidents | selectattr('status', 'in', ['open','investigating']) | list if incidents else [] %} {% if active %} {% for inc in active %} {% set sev = inc.get('severity', 'medium') %}
{{ inc.get('title', inc.get('incident_id','?')) }}
{{ inc.get('summary', inc.get('description', '')) }}
{{ inc.get('incident_id','') }} {% if inc.get('service') %}{{ inc.service }}{% endif %} {% if inc.get('created_at') %}{{ inc.created_at }}{% endif %}
{{ sev|upper }}
{{ inc.get('status','?')|upper }}
{% endfor %} {% else %}
โœ…

No active incidents.

{% endif %}
{% set resolved = incidents | selectattr('status', 'equalto', 'resolved') | list if incidents else [] %} {% if resolved %}

Recently Resolved

{% for inc in resolved[:5] %} {% set sev = inc.get('severity', 'low') %}
{{ inc.get('title', inc.get('incident_id','?')) }}
{% if inc.get('duration_minutes') %}
MTTR: {{ inc.duration_minutes|round(0)|int }}m
{% endif %}
{{ sev|upper }}
{% endfor %} View full JSON โ†’
{% endif %} {% include "includes/iqe_query_widget.html" %} {% endblock %}