From 0d933b79b7a5e1ba39c5cc8a520a9d93a0d1b602 Mon Sep 17 00:00:00 2001 From: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Date: Mon, 27 Jul 2020 13:09:42 -0700 Subject: [PATCH] Docs: Update global-variables.md (#26627) --- docs/sources/variables/global-variables.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/sources/variables/global-variables.md b/docs/sources/variables/global-variables.md index 6cfd6554b3f..377e4a900bf 100644 --- a/docs/sources/variables/global-variables.md +++ b/docs/sources/variables/global-variables.md @@ -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. +