Browse Source

docs: new variable type text box that allows free text input

Marcus Efraimsson 7 years ago
parent
commit
c670897c6a
2 changed files with 8 additions and 1 deletions
  1. 7 1
      docs/sources/guides/whats-new-in-v5-3.md
  2. 1 0
      docs/sources/reference/templating.md

+ 7 - 1
docs/sources/guides/whats-new-in-v5-3.md

@@ -20,6 +20,7 @@ Grafana v5.3 brings new features, many enhancements and bug fixes. This article
 - [Postgres]({{< relref "#postgres-query-builder" >}}) gets a new query builder!
 - [OAuth]({{< relref "#improved-oauth-support-for-gitlab" >}}) support for Gitlab is improved
 - [Annotations]({{< relref "#annotations" >}}) with template variable filtering
+- [Variables]({{< relref "#variables" >}}) with free text support
 
 ## Google Stackdriver
 
@@ -64,12 +65,17 @@ Grafana 5.3 comes with a new OAuth integration for Gitlab that enables configura
 Learn how to enable and configure it in the [documentation](/auth/gitlab/).
 
 ## Annotations
- it possible to use template vari
+
 Grafana 5.3 brings improved support for [native annotations](/reference/annotations/#native-annotations) and makes it possible to use template variables when filtering by tags.
 Learn more about it in the [documentation](/reference/annotations/#query-by-tag).
 
 {{< docs-imagebox img="/img/docs/v53/annotation_tag_filter_variable.png" max-width="600px" >}}
 
+## Variables
+
+Grafana 5.3 ships with a brand new variable type named `Text box` which makes it easier and more convenient to provide free text input to a variable.
+This new variable type will display as a free text input field with an optional prefilled default value.
+
 ## Changelog
 
 Checkout the [CHANGELOG.md](https://github.com/grafana/grafana/blob/master/CHANGELOG.md) file for a complete list

+ 1 - 0
docs/sources/reference/templating.md

@@ -90,6 +90,7 @@ Type | Description
 *Custom* | Define the variable options manually using a comma separated list.
 *Constant* | Define a hidden constant. Useful for metric path prefixes for dashboards you want to share. During dashboard export, constant variables will be made into an import option.
 *Ad hoc filters* | Very special kind of variable that only works with some data sources, InfluxDB & Elasticsearch currently. It allows you to add key/value filters that will automatically be added to all metric queries that use the specified data source.
+*Text box* | This variable type will display as a free text input field with an optional default value.
 
 ### Query options