{% extends '../layouts/index.html' %} {% block content %}

{% block page_title %} Metrics and Key Events {% endblock page_title %}

{% component "card" id="metrics-sequence-graph" card_title="TLDR: Metrics Timeline" %} {% fill "card_content" %} {% autoescape off %}
            {{ metric_graph|join:"
" }}
          
{% endautoescape %} {% endfill %} {% endcomponent %}
{% component "card" id="metrics-details" card_title="Incident Metrics Details" %} {% fill "card_content" %}

Metrics are durations, used to track the time of the incident response.

These durations are computed automatically from incident's Key Events.
`Time To` metrics relate to a single incident, but are used for `Mean Time To` metrics, about a group of incidents.

{% for metric in metrics %}

{{ metric.name|capfirst }} ({{ metric.code }})

{{ metric.description }}

Metric formula: {{ metric.code }} = {{ metric.milestone_lhs.event_type|capfirst }} - {{ metric.milestone_rhs.event_type|capfirst }}

{% endfor %}
{% endfill %} {% endcomponent %} {% component "card" id="metrics-details" card_title="Key Events Details" %} {% fill "card_content" %}

Key Events are important events, point in time in your incident, that are equivalent to the status of the outage.

They are used to derive Incident Metrics, that are useful to understand the impact of the incident.
Key Events can be modified by any user, either in Slack or in the Incident Page.

{% for key_event in key_events %} {% if key_event.asked_for %}

{{ key_event.name|capfirst }}

{{ key_event.description|default:key_event.summary|markdown|safe }} {% if not key_event.user_editable %}

💡 This Key Event is added automatically to incidents by FireFighter, from the status you put in your `/incident update`.

{% endif %} {% endif %} {% endfor %}
{% endfill %} {% endcomponent %}
{% endblock content %} {% block head %} {% endblock head %}