Cannot submit dashboard error
kevchu3 opened this issue · comments
The sample GrafanaDashboard CRs in this repo cannot be imported for some later versions of Grafana and Grafana Operator. The Grafana Operator logs show the following error repeatedly:
{"level":"info","ts":1590181409.535783,"logger":"controller_grafanadashboard","msg":"cannot submit dashboard my-grafana/infra-metrics"}
Fixed by commit 73ab3a2
In PR grafana/grafana#19882, the notification IDs are now translated to UIDs, and the following syntax below is no longer valid:
"notifications": [
{
"id": 1
}
]
To resolve the issue, I updated the snippet code throughout the json and GrafanaDashboard CRs as follows:
"notifications": []