{{ title }}

{% if errors %} {% for e in errors %}

{{ e }}

{% endfor %} {% endif %} {% if api_rows %}

API Request Log ({{ api_rows|length }} rows, max 500)

Red = response_time > 1000ms or status ≥ 500. Yellow = response_time > 500ms or status ≥ 400.

{% for row in api_rows %} {% if row.response_time_ms > 1000 or row.status_code >= 500 %} {% elif row.response_time_ms > 500 or row.status_code >= 400 %} {% else %} {% endif %} {% endfor %}
Time (UTC) Response ms Status DB queries Concurrent
{{ row.created_at|date:"H:i:s" }} {{ row.response_time_ms }} {{ row.status_code }} {{ row.db_query_count }} {{ row.concurrent_requests }}
{% endif %} {% if resource_rows %}

System Resource Snapshots ({{ resource_rows|length }} rows, max 500)

Red = cpu > 80% or ram > 85%. Yellow = cpu > 60% or ram > 70%.

{% for row in resource_rows %} {% if row.cpu_percent > 80 or row.ram_percent > 85 %} {% elif row.cpu_percent > 60 or row.ram_percent > 70 %} {% else %} {% endif %} {% endfor %}
Time (UTC) Service Type CPU % RAM % Disk % Celery active PG conns Redis clients
{{ row.captured_at|date:"H:i:s" }} {{ row.service_name }} {{ row.service_type }} {{ row.cpu_percent }} {{ row.ram_percent }} {{ row.disk_percent|default:"-" }} {{ row.celery_active_tasks|default:"-" }} {{ row.postgres_active_connections|default:"-" }} {{ row.redis_connected_clients|default:"-" }}
{% endif %} {% if not api_rows and not resource_rows and not errors and endpoint %}

No data found for the given endpoint and time range.

{% endif %} {% if not endpoint %}

Enter an endpoint pattern and time range to view correlated data.

{% endif %}