Hi Guanpeng, Yes, this is intended. The reason is that the new React UI requires some separate build steps that are not Go-based, and the result of that is not checked in (because it's hard to make completely reproducible builds that wouldn't create diffs every time the React UI is built).
See https://github.com/prometheus/prometheus/blob/master/web/ui/react-app/README.md for more details on the React UI build and dev stuff. On Sun, Jul 5, 2020 at 6:22 PM Guanpeng Gao <[email protected]> wrote: > I use go build under cmd/prometheus to generate prometheus binary > but looks like it doesn't include frontend assets, different from the > binary directly build from "make build" > error message: error reading base template: open > web/ui/templates/_base.html: no such file or directory > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-developers/c731c457-f9c8-44da-b8f1-3253dab6cbffo%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-developers/c731c457-f9c8-44da-b8f1-3253dab6cbffo%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Julius Volz PromLabs - promlabs.com -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAObpH5zjNztJ9px4AmM_LP%3DneTRA-4VKKYJ_gU8c6QhuDCS61Q%40mail.gmail.com.

