-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Datasource named ${DS_PROMETHEUS} was not found #4190
Comments
+1 |
1 similar comment
+1 |
@ahmedig, what exactly did you do to create the datasource |
- Helpful for monitoring model count changes over time - I manually made this dashboard on the remote host, then exported/saved the json file locally, then added it to provisioning - I initially hit an error where data didn't show up on any of the visualizations "Datasource named ${DS_PROMETHEUS} was not found" - The fix was to add the DS_PROMETHEUS variable to the dashboard settings and use it as the datasource for all of the visualizations, then re-export the json - I used the PostgreSQL Database dashboard settings as an example, since it also uses the DS_PROMETHEUS variable and had previously worked on both local and remote without hitting this error - https://github.com/kubernetes/ingress-nginx/pull/4796/files - https://grafana.com/docs/grafana/latest/dashboards/variables/ - kubernetes/ingress-nginx#4190 - Finally, I deleted the manually created remote dashboard, since after pushing this change it will be provisioned/re-added using the json file
I am using the grafana helm chart, and importing this dashboard. As soon as I open the dashboard, it welcomes me with the error message “Datasource named ${DS_PROMETHEUS} was not found”.
So in the helm chart appspec file, I have this:
I can later on edit the dashboard variables, create a datasource named
DS_PROMETHEUS
, and it works fine, but this should be included in the file's json as far as I understand.Any clue?
The text was updated successfully, but these errors were encountered: