Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeDataSources: Support runtime data sources retrieval via DataSourceSrv #921

Open
torkelo opened this issue Sep 27, 2024 · 0 comments

Comments

@torkelo
Copy link
Member

torkelo commented Sep 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant