I have a couple of data source that works great in a panel, but when added as a variable I get an error. This happens in the second I change the data source from Azure Monitor to any of the following plugins: JSON API, and CSV.
TypeError: t.getVariables is not a function
[Edit] Updated to Grafana v8.3.6 (bf8766bbf2)
An unexpected error happened
Details
TypeError: t.getVariables is not a function
at J (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:6501:29939)
at div
at xc (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:2934:3689)
at div
at te (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:6501:31381)
at ae (https://foo.bar.com/public/build/azureMonitorPlugin.0e38943fa459e872fe93.js:1:45189)
at div
at div
at div
at c (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:794:786)
at u (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:794:1492)
at div
at div
at c (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:794:786)
at u (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:794:1492)
at div
at div
at c (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:794:786)
at u (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:794:1492)
at G (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:5935:27807)
at v (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:971571)
at div
at div
at c (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:794:786)
at u (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:794:1492)
at form
at div
at B (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:4564:2304)
at v (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:971571)
at div
at Se (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:4585:1288)
at v (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:971571)
at div
at div
at div
at div
at div
at t (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:657031)
at u (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:264:1038)
at div
at aa (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:4598:307)
at div
at Mi (https://foo.bar.com/public/build/DashboardPage.0e38943fa459e872fe93.js:574:3581)
at DashboardPage
at v (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:971571)
at n (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:942013)
at Bi (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:6399:193)
at t (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:989569)
at t (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:991590)
at main
at t (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:986187)
at div
at Ws (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:2158:1022)
at d (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:4486:26210)
at Sl (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:2874:458)
at Tl (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:2874:1006)
at l (https://foo.bar.com/public/build/2201.0e38943fa459e872fe93.js:2:969089)
at No (https://foo.bar.com/public/build/7095.0e38943fa459e872fe93.js:6479:384)