{% extends "base.html" %} {% set active_page = "" %} {% block title %}HAProxy • Statistics{% endblock %} {% block breadcrumb %}{% endblock %} {% block content %}
{% if stats %}
Frontends
{{ stats|length }}
Connections
{{ stats|map(attribute='conn_tot')|sum }}
Errirs 4xx
{{ stats|map(attribute='4xx_errors')|sum }}
Errors 5xx
{{ stats|map(attribute='5xx_errors')|sum }}
{% for stat in stats %} {% endfor %}
Frontend Server 4xx 5xx Bytes In (MB) Bytes Out (MB) Connections
{{ stat.frontend_name }} {{ stat.server_name }} {% if stat['4xx_errors'] > 0 %} {{ stat['4xx_errors'] }} {% else %} {{ stat['4xx_errors'] }} {% endif %} {% if stat['5xx_errors'] > 0 %} {{ stat['5xx_errors'] }} {% else %} {{ stat['5xx_errors'] }} {% endif %} {{ "%.2f"|format(stat.bytes_in_mb) }} {{ "%.2f"|format(stat.bytes_out_mb) }} {{ stat.conn_tot }}
{% else %}
No stats.
{% endif %}
{% endblock %}