{# SPDX-License-Identifier: AGPL-3.0-only #}
Last Updated {{last_updated}} UTC.
| Instance | Healthy | Ping | Average | RSS | Version | Points |
|---|---|---|---|---|---|---|
| {{host.domain}} | {% if host.healthy -%} ✅ {% else -%} ❌ {% endif -%} | {% if host.recent_pings|length > 0 -%} {% set height = 57 -%} {% set width = 182 -%} {% set amount = host.recent_pings|length -%} {% set width_bar = width / amount -%} {% set offset = 5 -%} {% set error_size = height / 3 %} {% if host.ping_max and host.ping_min -%} {# only one entry, so max = min => step_size would be 0 #} {% if host.ping_max == host.ping_min -%} {% set step_size = 5/(height-offset) -%} {% else -%} {% set step_size = (host.ping_max - host.ping_min)/(height-offset) -%} {% endif -%} {% else %} {# no valid entries, only nulls #} {% set step_size = 5/(height-offset) -%} {% endif %} {# #} {% endif %} | {{host.ping_avg}} | {% if host.rss -%} ✅ {% else %} ❌ {% endif %} | {{host.version}} | {{host.points}} |