Grafana error "Template initialization error" after updating when using graphite backend

I am trying to upgrade my Grafana installation from version v4.0.2 (commit: v4.0.2)to version v4.4.3 (commit: 54c79c5)on CentOS 7. Both old and new versions of Grafana are installed from official RPM packages.

When I try to open any panel, I have the following error message:

Templating init failed
Maximum call stack size exceeded

The following messages are also displayed in the browser console log:

RangeError: Maximum call stack size exceeded
at RegExp.exec (<anonymous>)
at RegExp.[Symbol.replace] (<anonymous>)
at String.replace (<anonymous>)
at Object.replace (http://<my_grafana_host>/public/app/boot.07485e0c.js:10:23129)
at Object.get (http://<my_grafana_host>/public/app/boot.07485e0c.js:45:5205)
at Object.get (http://<my_grafana_host>/public/app/boot.07485e0c.js:45:5235)
at Object.get (http://<my_grafana_host>/public/app/boot.07485e0c.js:45:5235)
at Object.get (http://<my_grafana_host>/public/app/boot.07485e0c.js:45:5235)
at Object.get (http://<my_grafana_host>/public/app/boot.07485e0c.js:45:5235)
at Object.get (http://<my_grafana_host>/public/app/boot.07485e0c.js:45:5235) <plugin-component type="query-ctrl">

I get the same error in the browser console when I try to configure Save & TestGraphite in the data source. In this case, I see a progress bar that says Testing..., but never completes.

I tested the behavior in Chrome and Firefox and it breaks the same in both browsers.

, URL. , Grafana 4.0.2, .

Grafana , RPM, .

, , , .

+5

Source: https://habr.com/ru/post/1683704/


All Articles