Background
The new plugin architecture allows perses clients to load the plugins at runtime, we should adjust the perses integration in the monitoring plugin to support this.
Goal:
This spike will be for a POC to load plugins dynamically. Currently, the plugins are statically loaded. We want to follow the same pattern that Perses UI uses, loading plugins lazily when a dashboard needs them.
General Steps
- perses/perses: upstream changes to redirect mf_manifest.json files to be served through a proxy.
- monitoring-console-plugin: Replace static plugin loader with remotePluginLoader (https://github.com/perses/perses/blob/main/ui/plugin-system/src/remote/PluginLoaderComponent.tsx)
- Test that all plugin types can be loaded. e.g., TimeSeriesChart, BarChart, Table.
Upstream discussion
https://github.com/perses/perses/issues/3166
Outcomes
- The monitoring plugin can display all charts and consume all data sources coming from installed plugins