I use Grafana v5.1.3 (087143285) on my own server (Debian).
Since few releases (I didn’t take time to search for the issue & report it until now), all my metrics queries using tags are not displayed, returning a “Cannot read property ‘templateSrv’ of undefined” error.
Here are some screenshots.
Classical query without tag: https://www.dropbox.com/s/snoy4q66iprcot6/2018-06-08_111026.png?dl=0
Query with tag : https://www.dropbox.com/s/8qbjcgllhi3wu1p/2018-06-08_111159.png?dl=0
I can’t find how to fix this issue. Any idea?
If I limit the query to timestamps where there is no data, I don’t have the error. It’s only when datas are returned.
Thank you !