{# SPDX-License-Identifier: AGPL-3.0-only #}
Please use /api/v1/instances for bots.
Last Updated {{last_updated}} UTC.
| Instance | Country | Healthy | Response Times | Average (ms) | RSS | Version | Points | |
|---|---|---|---|---|---|---|---|---|
| {{host.domain}} | {{host.country}} |
{%- if host.is_bad_host -%}
❓
{%- elif host.healthy -%}
✅
{%- else -%}
❌
{%- endif -%} |
{%- if host.recent_pings|length > 0 -%} {%- set height = 34 -%} {%- set width = 100 -%} {%- set amount = host.recent_pings|length -%} {%- set width_bar = 5 -%} {%- 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 -%} {# #} {%- if host.ping_min -%} {%- else -%} {# #} {%- if host.last_healthy -%} Last seen healthy: {{host.last_healthy | truncate(length=16, end="") | replace(from="-", to=".") | replace(from="T", to=" ")}} UTC {%- else -%} Never seen healthy. {%- endif -%} {%- endif -%} {%- else -%} No recent data! {%- endif -%} | {%- if host.ping_min -%}{{host.ping_avg}} | {% endif %}{% if host.rss -%} ✅ {%- else -%} ❌ {%- endif -%} | {%- if host.healthy and not host.version -%} {%- set version = "Dmissing" -%} {%- elif host.version and not host.is_upstream -%} {%- set version = "Aforeign" -%} {%- elif host.is_latest_version -%} {%- set version = "Blatest" -%} {%- elif host.version and not host.is_latest_version -%} {%- set version = "Coutdated" -%} {%- else -%} {%- set version = "Eunknown" -%} {%- endif -%}{%- if host.version_url -%} {{host.version | truncate(length=18) | default(value="missing version")}} {%- else -%} missing version {%- endif -%} {%- if version == "Dmissing" -%} missing {%- elif version == "Aforeign" -%} foreign repo {%- elif version == "Blatest" -%} latest {%- elif version == "Coutdated" -%} outdated {%- endif -%} | {{host.points}} | |