K-Phoen / dark

(grafana) Dashboards As Resources in Kubernetes
MIT License
428 stars 21 forks source link

Converting a Grafana JSON dashboard to YAML doesn't add datasource to the yaml #238

Open mib93 opened 4 months ago

mib93 commented 4 months ago

Hi, if I convert my Grafana dashboard.json to dashboard.yaml using the guide at ‘https://github.com/K-Phoen/dark/blob/master/docs/usage/converting-grafana-json-to-yaml.md’, it doesn’t add the datasource to the YAML file. For example: dashboard.json .... "targets": [ { "datasource": { "type": "prometheus", "uid": "PCB1AD8455F96C165" } .....

this datasource is not added in dashboard.yaml ....

Best Regards