From e75bc5d39a35c389ab9d196d67848629a3200ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 5 May 2017 08:56:19 +0200 Subject: [PATCH] docs: added templating docs link to app --- docs/sources/reference/templating.md | 4 ++-- .../features/templating/partials/editor.html | 22 ++++++++++++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/docs/sources/reference/templating.md b/docs/sources/reference/templating.md index 7fa71989570..0405251f44d 100644 --- a/docs/sources/reference/templating.md +++ b/docs/sources/reference/templating.md @@ -90,8 +90,8 @@ The query expressions are different for each data source. - [Prometheus templating queries]({{< relref "features/datasources/prometheus.md#templating" >}}) - [OpenTSDB templating queries]({{< relref "features/datasources/prometheus.md#templating" >}}) -One thing to note is that query expressions can contain references to other variables and in effect create depend & nested -variables. Grafana will detect this and automatically refresh a variable when one of it's containing variables change. +One thing to note is that query expressions can contain references to other variables and in effect create linked variables. +Grafana will detect this and automatically refresh a variable when one of it's containing variables change. ## Selection Options diff --git a/public/app/features/templating/partials/editor.html b/public/app/features/templating/partials/editor.html index a0683debc5c..59e304278f7 100644 --- a/public/app/features/templating/partials/editor.html +++ b/public/app/features/templating/partials/editor.html @@ -17,6 +17,11 @@
  • New +
  • +
  • + + Help +
  • @@ -30,7 +35,8 @@
    No template variables defined -
    +

    +
    @@ -64,6 +70,20 @@
    +
    +
    +

    What does templating do?

    +

    Templating allows for more interactive and dynamic dashboards. Instead of hard-coding things like server, application + and sensor name in you metric queries you can use variables in their place. Variables are shown as dropdown select boxes at the top of + the dashboard. These dropdowns make it easy to change the data being displayed in your dashboard. +
    +
    + + Checkout the Templating documentation for more information. +

    +
    +
    +