Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
observability: implement better/fully working grafana sync (aptos-lab…
…s#5064) The previous grafana sync method had a few bugs and didn't sync/support certain constructs and led broken dashboards - this was likely due to the Go grafana-sync tool using a kinda old Grafana SDK version and relying on Go structs having implemented every single possible field. With the new sync method we're using the API directly and treating the dashboard more-or-less as a blob so it should work mostly fine, even when grafana adds new properties/features in the serialization format. Also adding a method to sync dashboards back from local to Grafana which wasn't really supported before. Lastly this also auto deletes dashboards that don't exist in Grafana anymore.
- Loading branch information