distributed-system-analysis/pbench-dashboard

Use server `/api/v1/endpoints` API to to auto-configure the Dashboard

Closed this issue · 1 comments

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)

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.