Why is it, when I import a dashboard into Grafana from the grafana dashboard repo “Grafana dashboards | Grafana Labs” that all the queries that sit underneath a panel are empty?
Any dashboard I import, grafana seems to remove the queries. There are templates that contain panels id like to see the queries to see if i can use them/modify to use but they are always empty.
what version of grafana are you on ?
Are you using the same identical dashboard datasource name as the one you are importing?
There are following resons to blank the query when import json in grafana
- Data source name mismatch
Each dashboard is built against a specific data source name (e.g. “Prometheus”, “Loki”, “PostgreSQL”). If your Grafana doesn’t have a data source with exactly the same name and type, Grafana strips out the queries on import.
- Missing plugin or panel type
Some dashboards use community plugins or custom panels. If you haven’t installed that plugin, those panels may import blank.
- Version incompatibility
Dashboards designed for older Grafana releases can lose parts of their JSON in newer versions.
Note :in my case i import windows monitoring panel and select correct datasource(Prometheus) and also run window expoter the query and transformation are present in the panel.
1 Like
Ahh ha! Thanks for your reply. I didn’t see the Dependencies on the side there on the dashboard homepage. Looks like the dashboards are for a earlier version… like v6 and older.. Ewwww. Thank you.
1 Like
Where are all the newer dashboards then? Surely the community hasnt stopped creating/sharing new dashboards for v10+ grafana instances? or are people using “https://play.grafana.org/” instead of “Grafana dashboards | Grafana Labs” now?!