Use server `/api/v1/endpoints` API to to auto-configure the Dashboard
portante opened this issue · 1 comments
portante commented
Improve dashboard deployment experience by using the Pbench server /api/v1/endpoints
API instead of a hardcoded endpoints.js
file built into the javascript bundle loaded on the server.
That way we can build one dashboard bundle and test it on staging and move it to production without having to change or rebuild the bundle.
Originally posted by @portante in #106 (comment)
dbutenhof commented
In some ways having pbench
and pbench-dashboard
as separate repositories makes coordination more difficult. We really need a pbench
PR first to implement an API which can then be leveraged here. I'll clone this to start.