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

Dashboard variable DataSourceVariableSupport not supported #989

Open
GuYounes opened this issue Dec 4, 2024 · 1 comment
Open

Dashboard variable DataSourceVariableSupport not supported #989

GuYounes opened this issue Dec 4, 2024 · 1 comment

Comments

@GuYounes
Copy link

GuYounes commented Dec 4, 2024

I have a custom data source plugin using DataSourceVariableSupport. I can see my query editor, but when I click on "Run query" it silently crashes.
In createQueryVariableRunner.ts in the function createQueryVariableRunnerFactory we can see that the DataSourceVariableSupport is not supported.

@apricote
Copy link

apricote commented Dec 7, 2024

Same here. My data source was working properly until Grafana 11.3.0 where it now fails with this error message for my DataSourceVariableSupport variables.

SceneVariableSet updateAndValidate error Error: Couldn't create a query runner for datasource apricote-hcloud-datasource
    g_ createQueryVariableRunner.js:113
    getValueOptions QueryVariable.js:73
    RxJS 5
    Angular 18
    RxJS 16
    _updateNextBatch SceneVariableSet.js:127
    _validateAndUpdateCompleted SceneVariableSet.js:145
    next SceneVariableSet.js:128
    RxJS 8
<anonymous code>:1:145535
    overrideMethod <anonymous code>:1
    _handleVariableError SceneVariableSet.js:161
    error SceneVariableSet.js:130
    RxJS 8
    Angular 18
    RxJS 16
    _updateNextBatch SceneVariableSet.js:127
    _validateAndUpdateCompleted SceneVariableSet.js:145
    next SceneVariableSet.js:128
    RxJS 8

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

2 participants