mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
Docs: Update global-variables.md (#26627)
This commit is contained in:
parent
6c49fdb57d
commit
0d933b79b7
@ -14,8 +14,9 @@ Grafana has global built-in variables that can be used in expressions in the que
|
||||
|
||||
## $__dashboard
|
||||
|
||||
- `${__dashboard.name}` is the name of the current dashboard
|
||||
- `${__dashboard.uid}` is the UID of the current dashboard (used in url)
|
||||
> Only available in Grafana v6.7+. In Grafana 7.1, the variable changed from showing the UID of the current dashboard to the name of the current dashboard.
|
||||
|
||||
This variable is the name of the current dashboard.
|
||||
|
||||
## $__from and $__to
|
||||
|
||||
@ -81,3 +82,4 @@ This is used in several places, including:
|
||||
- Log Analytics queries in the Azure Monitor data source.
|
||||
- SQL queries in MySQL, Postgres, and MSSQL
|
||||
- The `$__timeFilter` variable is used in the MySQL data source.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user