"I’ve been trying for several days to get a Grafana version higher than 9.5.1 to work, in order to use certain plugins that are only compatible with Grafana versions above 10 — without success.
After an initial attempt to set up a standalone Linux server with version 12.1, where I observed significant slowness when displaying charts that involve calculations within queries (for example label("$PMU1",slicesum(0.001,FILTER ActiveMeasurements WHERE Description LIKE '% Active Power%' AND Description LIKE '%$PMU1%' ORDER BY Description ASC));
which take several minutes instead of a few seconds in 9.5.1), I tried the latest Nightly Build of openHistorian (which includes Grafana version 11.4.0). In this version, I’m encountering an issue with the interpretation of ‘Custom’-type variables. These variables work perfectly well on the 9.5.1 release: the list of values is specified directly in the variable definition (e.g., “TOTO,TATA,TUTU”), and I reference them in queries using $PMU1
or ${PMU1}
.
However, in Grafana 11.4.0, the query engine fails to substitute the variable name with the selected value at dashboard runtime. Replacing the variable directly in the query with the desired value (or a part of it) confirms that the overall query structure is valid. When using the variable, the query explorer shows that the request is not executed (but no error message is shown) ; and the panel shows ‘no data’ .
More surprisingly, using the same variable in a Text panel (rather than a time series, histogram, or clock graph panel) works correctly — the variable is properly interpreted there.
I’ve tried referencing the variable using both $VARIABLE1
and ${VARIABLE1}
, but without success.
Are you observing the same issue?
Regards"