mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-11 16:14:05 -08:00
5f5d77848e
Issue #3046 is triggered by html/template changes in go1.9. See https://tip.golang.org/pkg/html/template. Quote: // To ease migration to Go 1.9 and beyond, "html" and "urlquery" will // continue to be allowed as the last command in a pipeline. However, if the // pipeline occurs in an unquoted attribute value context, "html" is // disallowed. Avoid using "html" and "urlquery" entirely in new templates. The commit also includes a trivial whitespace fix. |
||
---|---|---|
.. | ||
static | ||
templates | ||
bindata.go | ||
README.md |
The ui
package contains static files and templates used in the web UI. For
easier distribution they are statically compiled into the Prometheus binary
using the go-bindata tool (c.f. Makefile).
During development it is more convenient to always use the files on disk to
directly see changes without recompiling.
Set the environment variable DEBUG=1
and compile Prometheus for this to work.
This is for development purposes only.
After making changes to any file, run make assets
before committing to update
the generated inline version of the file.