SSE/docs: Add note on not working with dash vars (#32646)

server side expressions "Expressions" unfortunately do not work with dashboard variables (in the same way alerting does not). 

The execution path is always through the backend/server of data sources, which currently don't support expanding dashboard variables.
This commit is contained in:
Kyle Brandt 2021-04-02 11:09:14 -04:00 committed by GitHub
parent 6ad02315eb
commit 698a1ee003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,8 @@ The primary use case for expressions is for the upcoming next version of Grafana
> **Note:** Expressions do not work with current Grafana alerting. > **Note:** Expressions do not work with current Grafana alerting.
> **Note:** Expressions do not work with dashboard variables.
Expressions are meant to augment data sources by enabling queries from different data sources to be combined or by providing operations unavailable in a data source. Expressions are meant to augment data sources by enabling queries from different data sources to be combined or by providing operations unavailable in a data source.
> **Note:** When possible, you should do data processing inside the data source. Copying data from storage to the Grafana server for processing is inefficient, so expressions are targeted at lightweight data processing. > **Note:** When possible, you should do data processing inside the data source. Copying data from storage to the Grafana server for processing is inefficient, so expressions are targeted at lightweight data processing.