{% extends "sentry/emails/base.html" %} {% load sentry_helpers %} {% load sentry_assets %} {% block head %} {{ block.super }} {% endblock %} {% block header %}

Sentry

{{ duration.adjective|title }} Update for {{ organization.name }}
{{ interval.start }} – {{ interval.stop }}
{% endblock %} {% block content %}
{% with series=report.projects.series height=110 %}

Total Project Errors

{{ series.legend.total.data.accepted_errors|small_count:1 }}

{% for timestamp, values in series.points %} {% endfor %} {% for timestamp, values in series.points %} {% endfor %}
{% for key, count in values %} {% empty %} {% endfor %}
 
{{ timestamp|date:duration.date_format }}

Total Project Transactions

{{ series.legend.total.data.accepted_transactions|small_count:1 }}

{% for timestamp, values in series.transaction_points %} {% endfor %} {% for timestamp, values in series.transaction_points %} {% endfor %}
{% for key, count in values %} {% empty %} {% endfor %}
 
{{ timestamp|date:duration.date_format }}
{% for key in series.legend.rows %} {% endfor %} {% if series.legend.rows|length > 1 %} {% with key=series.legend.total %} {% endwith %} {% endif %}
Project Errors Dropped Transactions Dropped
{% if key.color %} {% endif %} {% if key.url %}{% endif %}{{ key.label }}{% if key.url %}{% endif %} {{ key.data.accepted_errors|small_count:1 }} {{ key.data.dropped_errors|small_count:1 }} {{ key.data.accepted_transactions|small_count:1 }} {{ key.data.dropped_transactions|small_count:1 }}
{% if key.color %} {% endif %} {% if key.url %}{% endif %}{{ key.label }}{% if key.url %}{% endif %} {{ key.data.accepted_errors|small_count:1 }} {{ key.data.dropped_errors|small_count:1 }} {{ key.data.accepted_transactions|small_count:1 }} {{ key.data.dropped_transactions|small_count:1 }}
{% endwith %}
{% with report.distribution.total as total %}

Errors by Issue Type

{% for type, count in report.distribution.types %} {{ type.label }}: {% percent count total "0.1f" %}% {% endfor %}
{% for type, count in report.distribution.types %} {% endfor %}
 
{% endwith %}
{%if report.key_errors|length > 0 %}
{% with report.key_errors as errors %}

Key Errors

{% for a in errors %}
{{a.count|small_count:1}}
{{a.group.message}}
{{a.group.project.name}}
{{a.status}}
{% endfor %} {% endwith %}
{% endif %} {%if report.key_errors|length > 0 %}
{% with report.key_transactions as transactions %}

Key Transactions

{% for a in transactions %}
{{a.count|small_count:1}}
{{a.name}}
{{a.project.name}}
{% if a.p95_prev_week %} {{a.p95_prev_week | duration}} {% endif %} {{a.p95 | duration}}
{% endfor %} {% endwith %}
{% endif %}
{% endblock %}