- OOPS: {{ oops.oopsid }}
- Filename: {{ oops.pathname }}
- Informational: {{ oops.informational }}
{% if oops.bug %}
- Bug: {{ oops.bug }}
{% else %}
{% endif %}
- Date: {{ oops.date }}
- Page-id: {{ oops.pageid }}
- Reporter: {{ oops.prefix.value }}
- Hostname: {{ oops.hostname }}
{% ifequal oops.oopsinfestation.last_seen_oops.oopsid oops.oopsid %}
- (This is the most recent instance.)
{% else %}
- Last seen:
{{ oops.oopsinfestation.last_seen_oops.date }}
{{ oops.oopsinfestation.last_seen_oops.oopsid }}
{% endifequal %}
- Past week count: {{ oops.oopsinfestation.past_week_count }}
- User: {{ oops.user }}
- DB id: {{ oops.user_db_id }}
- Branch: {{ oops.branch_nick }}
- Revno: {{ oops.revno }}
- SQL time: {{ oops.accumulated_time }} ms
- Non-sql time: {{ oops.total_non_sql_time }} ms
- Total time: {{ oops.total_time }} ms
- Statement Count: {{ oops.statements_count }}
Traceback
{{ oops.exception_type }}: {{oops.exception_value}}
{{ oops.traceback }}
Request Variables
top
{% for key, value in oops.req_vars %}
- {{key}}: {{value}}
{% endfor %}
Long SQL Statements (Shows up to five statements)
top
|
Time |
Reps |
Database id |
Statement |
{% for num, total_time, reps, db_id, statement in oops.longest_statements|slice:":5" %}
{{num}}. |
{{total_time}} |
{{reps}} |
{{db_id}} |
{{statement|format_sql}} |
{% endfor %}
Repeated SQL Statements
top
|
Reps |
Total time |
Average time |
Saving |
Database id |
Statement |
{% for num, reps, total_time, average, saving, db_id, projected_total_time, statement in oops.repeated_statements %}
{{num}}. |
{{reps}} |
{{total_time}} |
{{average}} |
{{saving}} |
{{db_id}} |
{{statement|format_sql}} |
{% endfor %}
SQL Statement Log
top
|
Start |
Length |
Database id |
Statement |
Traceback |
{% for num, start, stop, db_id, length, statement, tb in oops.formatted_statements %}
{{num}}. |
{{start}} |
{{length}}ms |
{{db_id}} |
{{statement|format_sql}} |
{{tb}} |
{% endfor %}