FS#64664 - [prometheus] web UI assets are missing
Attached to Project:
Arch Linux
Opened by Peter Marheine (tari) - Wednesday, 27 November 2019, 10:00 GMT
Last edited by Johannes Löthberg (demize) - Sunday, 15 December 2019, 16:00 GMT
Opened by Peter Marheine (tari) - Wednesday, 27 November 2019, 10:00 GMT
Last edited by Johannes Löthberg (demize) - Sunday, 15 December 2019, 16:00 GMT
|
Details
The built-in prometheus server's web UI fails to find any of
its assets because they're haven't been built. On loading
the default view (/graph), it returns an error:
> error reading base template: open web/ui/templates/_base.html: no such file or directory This should show the web UI for making queries instead of an error. Per the upstream documentation on building from source, binaries built with `go get` must be able to read the web assets from the working directory (and I assume this applies to `go build` as well, as done in the current PKGBUILD); `make build` should be used to compile the web assets into the binary for distribution. Additional info: * Package version 2.14.0-1 |
This task depends upon
Closed by Johannes Löthberg (demize)
Sunday, 15 December 2019, 16:00 GMT
Reason for closing: Fixed
Additional comments about closing: 2.14.0-2
Sunday, 15 December 2019, 16:00 GMT
Reason for closing: Fixed
Additional comments about closing: 2.14.0-2
with `make build` it will package all templates inside the prometheus artifact.