{% extends "django_observatory/base.html" %}{% load observatory %} {% block title %}Incident #{{ incident.pk }}{% endblock %}{% block heading %}Incident #{{ incident.pk }}: {{ incident.title }}{% endblock %} {% block sub %}Incidents / detected {% endblock %} {% block content %}
Status
{{ incident.status }}
Severity
{{ incident.severity|upper }}
Requests affected
{{ incident.affected_requests }}
Users affected
{{ incident.affected_users }}
identified in captured requests
HTTP 5xx
{{ incident.error_count }}
Endpoints
{{ incident.affected_endpoints|length }}

Probable cause

Inference · {{ incident.confidence }} confidence (score {{ incident.confidence_score|floatformat:2 }})
{{ incident.probable_cause }}
Probable start: {% if incident.resolved_at %} · resolved {% endif %}
Recommended investigation: {{ incident.recommendation }}
Evidence supporting this inference (observed)
{% if incident.alternatives %}

Other hypotheses considered: {% for a in incident.alternatives %}{{ a.cause }} ({{ a.confidence }}, {{ a.score }}){% if not forloop.last %}; {% endif %}{% endfor %}.

{% endif %}

The cause is a rule-based inference from correlated telemetry, not a certainty. Verify it against the evidence.

Correlated signals (observed facts)

{% for s in observed %}{% endfor %}
SignalRoleSource
{{ s.description }}{{ s.relationship }}{{ s.source }}
{% for title, id, data in charts %}{% include "django_observatory/_chart.html" %}{% endfor %}

Relationships

{{ graph|json_script:"g-inc" }}

Affected endpoints

{% for e in incident.affected_endpoints %}{% empty %}{% endfor %}
{{ e.route }}
None identified.

Exceptions during the incident

{% for e in exceptions %}{% empty %}{% endfor %}
#{{ e.issue_id }} {{ e.issue__title|truncatechars:70 }}{{ e.n }}
None captured.

Affected requests (worst first — open one to see its trace)

{% for r in requests %}{% empty %}{% endfor %}
TimeRequestStatusDurationExternalSQLUser
{{ r.method }} {{ r.route }}{{ r.status_code }}{{ r.duration_ms|ms }}{{ r.ext_ms|ms }}{{ r.db_ms|ms }}{{ r.username }}
No captured requests.
{% if alerts %}

Alerts grouped under this incident

{% for a in alerts %}{% endfor %}
{{ a.status }}{{ a.title }}{{ a.message }}
{% endif %}

Response

{% if perms_obs.manage_alerts %}
{% csrf_token %}
{% else %}

{{ incident.notes|default:"No notes."|linebreaksbr }}

{% endif %}
{% endblock %}