{# alerts/_metric_preview.html — what the chosen metric reads (#5475), so a threshold is set against real numbers: now, and the last day's hourly averages with the lowest and highest reading. A rule covering hosts previews on the host picked above it, or none. #} {% if preview %}
Now {{ metric_value(metric, preview.now) }} {{ preview.at|ago }} {% if preview.series|length > 1 %} last 24 h {{ metric_value(metric, preview.low) }} – {{ metric_value(metric, preview.high) }} {% endif %}
{% elif metric and resource %}

No reading of this yet from {{ resource }}.

{% endif %}