2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
<title>OOPS Report Summary</title>
7
<style type="text/css" media="screen">
8
@import url("/oops/static/oops.css");
12
{% if summary.count > 0 %}
16
<li>Log starts: {{summary.start|date:"Y-m-d H:i:s"}}</li>
17
<li>Analyzed period: {{summary.period}} days</li>
18
<li>Total exceptions: {{summary.count}}</li>
19
{% if summary.period > 1 %}
20
<li>Average exceptions per day:
21
{{summary.count|div:summary.period}}</li>
25
<table class="stats-table" id="stats">
27
{% for section in summary.sections|slice:"3:" %}
28
<li><a href="#{{section.section_id}}">
29
{{section.error_count}} {{section.title}}</a></li>
33
<div id="{{durations.section_id}}">
34
<h2>{{durations.title}}</h2>
35
<table class="top-value-table">
44
{% for duration, oopsids, pageid in durations.top_errors %}
46
<td>{{ duration|topvalueformat:durations.field_format }}</td>
48
<a href="{{oopsids|first|get_absolute_url}}">{{oopsids|first}}</a>
56
<div id="{{stmt_counts.section_id}}">
57
<h2>{{stmt_counts.title}}</h2>
58
<table class="top-value-table">
67
{% for count, oopsids, pageid in stmt_counts.top_errors %}
69
<td>{{ count|topvalueformat:stmt_counts.field_format }}</td>
71
<a href="{{oopsids|first|get_absolute_url}}">{{oopsids|first}}</a>
79
<div id="{{timeout_counts.section_id}}">
80
<h2>{{timeout_counts.title}}</h2>
81
<table class="top-value-table">
90
{% for data in timeout_counts.time_out_counts %}
92
<th>{{data.hard_timeouts_count}}</th>
93
<th>{{data.soft_timeouts_count}}</th>
94
<th>{{data.pageid}}</th>
100
{% for section in summary.sections|slice:"3:" %}
101
<div class="oops-section" id="{{section.section_id}}">
102
<h2>{{section.title}}</h2>
103
{% for group in section.groups %}
104
<div class="exception">
105
{{group.count}} <b>{{group.etype}}</b>: {{group.evalue}}
108
Bug: <a href="https://launchpad.net/bugs/{{group.bug}}">{{group.bug}}</a>
111
{{group.formatted_http_method_count}}
112
Robots: {{group.bot_count}}
113
Local: {{group.local_referrer_count}}
117
{% for data in group.top_urls %}
118
<li>{{data.count}} <a href="{{data.escaped_url}}">{{data.escaped_url}}</a>
121
{% for oops in data.errors|slice:":5" %}
122
<a href="{{oops|get_absolute_url}}">{{oops}}</a>
127
{% if group.url_count > 5 %}
128
<li>[{{group.url_count|sub:"5"}} more]</li>