I am trying to add a dashboard to a toy Grafana local installation to debug a dashboard and play on how to setup the c.i. on our server.
I try to load the dasboard using e.g.
curl --request POST \
--url http://localhost:3000/api/dashboards/db \
--header 'Authorization: Bearer <my key>' \
--header 'Content-Type: application/json' \
--data '{<the whole dashboard json code...>}'
but I get "Alert validation error: Data source used by alert rule not found, alertName=Persistence Queues alert, datasource=".
This makes sense, cause I have not localy the datasource, however it stops me from loading the dashboard and playing around with it on my toy server. If I use import, I can load the dashboard, even with errors (but my goal is to test the http api for c.i.).
Is there a way / server config setting that will allow me to create the dashboard via the http api, even without a valid alert?