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

Please add variable support sample code or doc #13

Closed
tomjamescn opened this issue Jun 11, 2020 · 1 comment
Closed

Please add variable support sample code or doc #13

tomjamescn opened this issue Jun 11, 2020 · 1 comment

Comments

@tomjamescn
Copy link

tomjamescn commented Jun 11, 2020

Backend datasource plugin is very useful, great job! Thanks.

I’m developing a backend data source plugins according to the tutorial on offical tutorial build-a-data-source-backend-plugin

everything is ok, thanks the tutorial, but I have no idea how to add variables support for backend data source plugins, i found this official doc add-support-for-variables, but i don't know how to use, can you add sample code or doc in this simple-datasource-backend project?

thanks.

@tomjamescn
Copy link
Author

applyTemplateVariables method in the latest grafana code can do this.

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