-
Notifications
You must be signed in to change notification settings - Fork 343
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
Random data displayed in Grafana dashboard after import #69
Comments
Hi @hatifnatt Thanks for the report! I wasn't able to exactly reproduce this, so in order to really fix the problem could you provide me the following info? Thanks.
Thanks ! |
Steps to reproduce
I made a test. If I mark 'Prometheus' data source as 'default' in data source parameters dashboard start to work as expected. I think that's why you probably can't reproduce this issue. |
Ah it makes sense, I think it has to do with the default Datasource you are right. We'll have a look at all of this and get back to you soon with the fix. Thank you so much for the detailed explanation !! |
https://github.com/nginxinc/nginx-prometheus-exporter/pull/71/files replace the json field |
After importing dashboard all panels of the dashboard is filled with "Test data: random walk" and Query is "default" not Prometheus as selected during import. Some more details can be found here.
Steps to reproduce the behavior:
Expected behavior
Panels displaying actual data, datasource is correctly set.
Environment
Additional context
I suppose problem can be fixed by re-exporting dashboard with Grafana 6.4+. Or by manually adding
"datasource": "${DS_PROMETHEUS}",
into each panel in JSON data, this is how I fixed it for myself.The text was updated successfully, but these errors were encountered: