Antoine,I think you know as well as I do that the likelihood of this being feasible is pretty remote. The fact that sufficient versions of npm, nodejs and React are already available in Debian does not help much if the web app uses a ton of bleeding edge modules which are not even on anybody's radar to package for Debian. Combine that with the fact that the Prometheus web UI is getting yet another major overhaul for v3.0.0. It seems to be a fast-moving target.
The classic web UI was actually removed upstream in v2.34.0, and I have forward-ported / reinstated the necessary Go code to keep supporting it. This is a dead end however, since Prometheus has newer functionality like exemplars and native (sparse) histograms, which are not supported by the legacy web UI. I would prefer to see the Debian package finally drop the classic UI also, since the Debian package is starting to resemble more of a /fork/ of Prometheus.
You may have noticed that I recently added an install-ui.sh helper script to the prometheus package, to fetch the React web UI tarball from upstream, similar to the script that is bundled with prometheus-alertmanager. So you /can/ use the React web UI now, if you want.
If you're willing to pitch in and help package the React UI, by all means, please do.
OpenPGP_signature.asc
Description: OpenPGP digital signature