{% extends "admin/base_site.html" %} {% load pensieve_tags %} {% block extrahead %} {{ block.super }} {% endblock %} {% block content %}

📊 Performance Dashboard

🔴 Latest Errors

{% if error_data %} {% for error in error_data %} {% endfor %}
Error Type URL Occurrences Last Seen
{{ error.error_type }} {{ error.url }} {{ error.count }} {{ error.last_seen }}
{% else %}
✓

No errors recorded! Your application is running smoothly.

{% endif %}

âš¡ Performance Metrics

{% if current_url_filter %} Clear Filter {% endif %}
{% if current_url_filter %}
Performance History for: {{ current_url_filter }}
{% if not metric_data %}
No performance data found for URL: {{ current_url_filter }}
{% endif %} {{ metric_data|json_script:"metric-data" }} {% else %}
Overall Project Latency (p95 vs Avg)
{{ project_summary_data|json_script:"project-summary-data" }}

Top 5 Slowest Endpoints (by p95 Latency)

{% if top_slow_endpoints %} {% for endpoint in top_slow_endpoints %} {% endfor %}
Endpoint URL Highest p95 Latency
{{ endpoint.url }} {{ endpoint.max_p95 }} ms
{% else %}
📈

No performance data aggregated yet. Start monitoring your endpoints!

{% endif %} {% endif %}
{% endblock %}