{# prometheus/_preview.html — the template editor's live preview (#5692): what's typed, checked; when it passes, drawn over the chosen target as the dashboard widget would draw it (widget.html, the same fragment). #} {% if problems %}
Paste or write a template, and it's drawn here as you type.
{% elif view is none %}Add a Prometheus target to see it drawn over real values.
{% else %} {% include "prometheus/widget.html" %} {% endif %}