Dashboard are requested to be saved due to missing fields on template
Opened this issue · 0 comments
sbengo commented
Hi,
First of all, thanks for this awesome lib!
We are using it to normalize and manage +50 dashboards
On the template section, we are overriding entire template array with the one generated with this lib (so, we are not merging/using the existing one)
We have seen that after a dashboard upload on Grafana, the dashboards are requested to be saved. Comparing the changes using the Grafana version history, it seems that there are some missing fields that Grafana tries to fill after uploading/refreshing a Dashboard.
The detected missing fields (can be more) are the following, splitted by each function.
template.new
Function | Field | Proposed type |
---|---|---|
template.new |
skipUrlSync |
bool |
template.new |
definition |
string |
template.datasource
Function | Field | Proposed type |
---|---|---|
template.datasource |
skipUrlSync |
bool |
template.datasource |
includeAll |
string |
template.datasource |
multi |
bool |
template.custom
Function | Field | Proposed type |
---|---|---|
template.custom |
skipUrlSync |
bool |