{{ monitor.name }}
{% if monitor.heartbeats %}
{% for hb in monitor.heartbeats[-12:] %}
{% set ping_height = ((hb.ping or 50) / 5) %}
{% if ping_height > 100 %}{% set ping_height = 100 %}{% endif %}
{% if ping_height < 20 %}{% set ping_height = 20 %}{% endif %}
{% endfor %}
{% endif %}
{% if monitor.ping %}
{{ monitor.ping }}ms
{% endif %}