{% extends "sentry/emails/base.html" %}
{% load sentry_helpers %}
{% load sentry_assets %}
{% block head %}
{{ block.super }}
{% endblock %}
{% block header %}
{% 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 %}
{% for key, count in values %}
|
{% empty %}
|
{% endfor %}
|
{% endfor %}
{% for timestamp, values in series.points %}
{{ timestamp|date:duration.date_format }}
|
{% endfor %}
|
Total Project Transactions
{{ series.legend.total.data.accepted_transactions|small_count:1 }}
{% for timestamp, values in series.transaction_points %}
{% for key, count in values %}
|
{% empty %}
|
{% endfor %}
|
{% endfor %}
{% for timestamp, values in series.transaction_points %}
{{ timestamp|date:duration.date_format }}
|
{% endfor %}
|
|
Project |
Errors |
Dropped |
Transactions |
Dropped |
{% for key in series.legend.rows %}
{% 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 }} |
{% endfor %}
{% if series.legend.rows|length > 1 %}
{% with key=series.legend.total %}
{% 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 %}
{% endif %}
{% 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.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}}
{% if a.p95_prev_week %}
{{a.p95_prev_week | duration}}

{% endif %}
{{a.p95 | duration}}
{% endfor %}
{% endwith %}
{% endif %}
{% endblock %}