I managed to get the datasources yaml and the dashboard json to line up.
So the soft links between these are working and basic provisioning is good and working.
In order to implement development from the provisioned sources, I need to save to json file, its the default option when you go save. I do this on my local machine with browser.
Share like this is not possible as you cannot leave your dashboard to get to the Share control in the UI.
For now the working solution is to prepend the __includes
and the __requires
lists in json that the “Export for external sharing” GF UI function generated off a previous version,
This just works, so running with it for now. Will develop devops framework on top of this.
But for now have gitability and development by iteration off provisioned dashboards. This was the main requirement.
Could not find any useful docs.
Will submit PR to the repo for docs on basic provisioning and possibly some code to automate from local browser machine to remote server that deploys Grafana and the prepend and deployment to /provisioning.
Poor man’s CD/CI.
Thanks for the help received in this thread.
My best
E