Open torkelo opened 1 month ago
The runtime service DataSourceSrv (getDataSourceSrv) does currently not know about the scenes registered runtime data sources.
This has not been an issue for most panels as far as we know but it appears that LogsPanel does do a data source lookup via DataSourceSrv. https://github.com/grafana/grafana/blob/main/public/app/plugins/panel/logs/LogsPanel.tsx#L109
So we might need to export runtimeDataSources from scenes so that DataSourceSrv can access and return runtime data sources
The runtime service DataSourceSrv (getDataSourceSrv) does currently not know about the scenes registered runtime data sources.
This has not been an issue for most panels as far as we know but it appears that LogsPanel does do a data source lookup via DataSourceSrv. https://github.com/grafana/grafana/blob/main/public/app/plugins/panel/logs/LogsPanel.tsx#L109
So we might need to export runtimeDataSources from scenes so that DataSourceSrv can access and return runtime data sources