I'm able to generate Panel JSON for provisioning a Grafana dashboard like so:
jsonnet -J ~/grafana/grafonnet-lib mydash.jsonnet > mydash.json
However I like to manipulate and edit the resulting dashboard in Grafana itself.
What I am absolutely puzzled and frustrated by, is once I've made the UI changes in Grafana by tweaking its settings and such... how does one get that back into Jsonnet? Right now for me it's a super awkward development experience. I export the Panel JSON and open the source Jsonnet in a seperate window and earnestly try port my changes across.
This is especially painful when in the JSON you might have:
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": true,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
That you would need to manually translate to Jsonnet/Graffonet-lib:
sparklineShow=true,
sparklineFull=true,
colorBackground=true,
Am I missing a trick or work flow?