Hey guys. how I can manage dashboards as code? Say I keep the json in my repo and want to modify, d...
r
Hey guys. how I can manage dashboards as code? Say I keep the json in my repo and want to modify, delete, or create it - how do you automate that process? for example via terraform
👀 1
h
The Dashboard resource looks structurally very similar to dashboard JSON, sadly some fields even expect a JSON string instead of native object... so I would imagine you'd just build a jsondecode-jsencode rube goldberg machine.
r
I see, thanks a lot )
a
We have achieved that using SigNoz APIs Ref- https://signoz.io/api-reference/#/operations/createDashboard We are maintaining dashboard json files in code and API Key in environment var. Using GET/POST/PUT APIs, we are managing the dashboards when our process starts.
r