Fix uploading dashboards
Fix uploading dashboards
The problem occurred when trying to upload the code_suggestions-triton dashboard. Which accidentally matched another dashboard we had. The update would then fail because we'd be trying to update a dashboard with in mismatched folder.
This removes all hardcoded ids from our dashboards and ensures we don't accidentally add them again.
Example failure:
Running in dry run mode, would create gitaly/gitaly-rebalancing.json in folder gitaly with uid gitaly-rebalancing
Running in dry run mode, would create woodhouse/woodhouse-main.json in folder woodhouse with uid woodhouse-main
jq: error (at <stdin>:1): Dashboard code_suggestions-triton contained an ID, it should not
Dashboards have since been uploaded again from my local machine.
Edited by Bob Van Landuyt