{% extends "base.html" %} {% block title %}Admin: Metrics - Makenot.work{% endblock %} {% block body_attrs %} class="padded-page admin-page"{% endblock %} {% block head %} {% endblock %} {% block content %} {% include "partials/site_header.html" %}
{% include "partials/admin_nav.html" %}

Metrics

Uptime: {{ uptime }}.

{{ total_requests }}
Total requests
{{ error_rate|fmt("{:.1}") }}%
Error rate (5xx)
{{ total_errors }}
App errors
{{ pool_active }} / {{ pool_max }}
DB pool (active / max)
{{ pool_idle }}
DB pool idle
{% if !top_routes.is_empty() %}

Top Routes (by request count)

{% for r in top_routes %} {% endfor %}
Method Path Status Count
{{ r.method }} {{ r.path }} {{ r.status }} {{ r.count }}
{% endif %} {% if !error_breakdown.is_empty() %}

Errors by Kind

{% for e in error_breakdown %} {% endfor %}
Kind Count
{{ e.kind }} {{ e.count }}
{% endif %}
{% endblock %}