{% macro status_icon(status) %} {% if status == 'healthy' %} {% elif status == 'degraded' %} {% else %} {% endif %} {% endmacro %}
{% for service, info in health_checks.items() %}
{{ service | replace('_', ' ') | title }} {{ status_icon(info.status) }}
{{ info.status | title }}
{% if info.message %}
{{ info.message }}
{% endif %} {% if info.latency is defined %}
Response time: {{ "%.2f"|format(info.latency) }}ms
{% endif %}
{% endfor %}
Last checked: {{ last_checked.strftime('%Y-%m-%d %H:%M:%S') if last_checked else 'Never' }}