-
Notifications
You must be signed in to change notification settings - Fork 11.6k
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
Template Var e.metricsFindQuery is Not a Function #20636
Comments
Make sure you have a datasource with the same name in the new instance |
I do |
Can you show the dashboard json? |
Yes, here is the dashboard json. I've removed the panels and the query itself from the template var definition to protect private data, but what you need should still be here. Note, MSSQLQuery is a JSON datasource I've created |
@torkelo any updates on this issue? Also, please re-open, as this has not been resolved. |
https://grafana.com/grafana/plugins/simpod-json-datasource is a community plugin. Please report your problem at https://github.com/simPod/grafana-json-datasource or try and upgrade Grafana to later version. |
What happened: When I imported a dashboard, the template var gives e.metricsFindQuery is not a function. The data is not loaded, and the request to the server is never actually sent. Note, this is not a problem in the dashboard I originally imported from.
What you expected to happen: Query would load as normal
How to reproduce it (as minimally and precisely as possible): Create a basic dashboard with JSON datasource. Then, create new installation of Grafana elsewhere, copy Grafana database, and load dashboard.
Anything else we need to know?:
Environment:
EDIT: I should also mention, this seems to only affect dashboard parameters, not the panels themselves.
The text was updated successfully, but these errors were encountered: