Provisioned Dashboard loading forever

  • What Grafana version and what operating system are you using? 9.2.2

  • What are you trying to achieve? deploy dashboards on provisioning time

  • How are you trying to achieve it? using configmap and annotations

  • What happened? fter provisioning dashboard is appearing and if you click it will load for ever with following error on browswer console.

appNotification.ts:30 Uncaught (in promise) TypeError: Cannot create property ‘93887c4b-317f-49d4-94c7-7a34f304af8d’ on number ‘100’
at notifyApp (appNotification.ts:30:27)
at redux-toolkit.esm.js:619:32
at produce (immer.esm.js:1:16051)
at redux-toolkit.esm.js:618:28
at Array.reduce ()
at f (redux-toolkit.esm.js:597:29)
at reducer (redux-toolkit.esm.js:676:20)
at redux.js:560:29
at root.ts:67:14
at m (redux.js:288:22)

  • What did you expect to happen? Dashboard load

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

appNotification.ts:30 Uncaught (in promise) TypeError: Cannot create property ‘93887c4b-317f-49d4-94c7-7a34f304af8d’ on number ‘100’
at notifyApp (appNotification.ts:30:27)
at redux-toolkit.esm.js:619:32
at produce (immer.esm.js:1:16051)
at redux-toolkit.esm.js:618:28
at Array.reduce ()
at f (redux-toolkit.esm.js:597:29)
at reducer (redux-toolkit.esm.js:676:20)
at redux.js:560:29
at root.ts:67:14
at m (redux.js:288:22)

  • Did you follow any online instructions? If so, what is the URL? NO

NOTE: If I import same dashboard via Grafana UI it works fine and load right away, only via provisioning get this error.
Any Support and idea would be appreciated.

can’t not put dashboard here due to number of line limitation, but as mentioned manually loading same dashboard works

The problem was with empty Annotations, if I remove the Annotations & Alerts and then before saving go to JSON Model and get that Json and provision, it works fine.
so looks Empty Annotation has an issue

1 Like