{% extends "_base.html" %} {% block accent %}#4f46e5{% endblock %} {% block subtitle %}Per-endpoint P50/P95/P99, database load, user-experience (Apdex) and server-cost attribution — sampling-corrected from production telemetry.{% endblock %} {% block body %} {% set max_q = (rows|map(attribute='avg_db_queries')|max) or 1 %} {% set max_share = (rows|map(attribute='db_share')|max) or 1 %}
{{ top_offender.endpoint }} carries {{ top_offender.db_share }}% of all
database time on {{ top_offender.traffic_share }}% of traffic
({{ top_offender.avg_db_queries }} queries/request, p95 {{ top_offender.p95 }} ms) — the clearest
optimisation target this window.
| # | Endpoint | Priority | P95 | P99 | Qry/req | DB-time share |
|---|---|---|---|---|---|---|
| {{ loop.index }} | {{ r.endpoint }} |
{{ r.priority }} | {{ r.p95 }} | {{ r.p99 }} | {{ r.avg_db_queries }} | {{ r.db_share }}% |
| Endpoint | Qry/req | Avg DB | DB-bound | Tail spread | Apdex | Rating |
|---|---|---|---|---|---|---|
{{ r.endpoint }} |
{{ r.avg_db_queries }} |
{{ r.avg_db_ms }} ms | {{ r.db_pct }}% | {{ r.tail_spread }}× | {{ "%.2f"|format(r.apdex) }} | {% if r.apdex >= 0.94 %}Excellent {% elif r.apdex >= 0.85 %}Good {% elif r.apdex >= 0.70 %}Fair {% else %}Poor{% endif %} |
| Endpoint | Requests | Compute-time | DB-time | Egress |
|---|---|---|---|---|
{{ r.endpoint }} | {{ r.requests|format_number }} | {{ r.compute_h }} h | {{ r.db_h }} h | {{ r.egress_mb }} MB |