mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(templating): minor fix to default property name, fixes #3378
This commit is contained in:
parent
4cc61d10ff
commit
8e0bba4f99
@ -363,7 +363,7 @@ Usage of the fields is explained below:
|
|||||||
],
|
],
|
||||||
"query": "tag_values(cpu.utilization.average,env)",
|
"query": "tag_values(cpu.utilization.average,env)",
|
||||||
"refresh": false,
|
"refresh": false,
|
||||||
"refresh_on_load": false,
|
"refresh": false,
|
||||||
"type": "query"
|
"type": "query"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -390,7 +390,7 @@ Usage of the fields is explained below:
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"query": "tag_values(cpu.utilization.average,app)",
|
"query": "tag_values(cpu.utilization.average,app)",
|
||||||
"refresh_on_load": false,
|
"refresh": false,
|
||||||
"regex": "",
|
"regex": "",
|
||||||
"type": "query"
|
"type": "query"
|
||||||
}
|
}
|
||||||
@ -413,7 +413,7 @@ Usage of the above mentioned fields in the templating section is explained below
|
|||||||
| **name** | name of variable |
|
| **name** | name of variable |
|
||||||
| **options** | array of variable text/value pairs available for selection on dashboard |
|
| **options** | array of variable text/value pairs available for selection on dashboard |
|
||||||
| **query** | datasource query used to fetch values for a variable |
|
| **query** | datasource query used to fetch values for a variable |
|
||||||
| **refresh_on_load** | TODO |
|
| **refresh** | TODO |
|
||||||
| **regex** | TODO |
|
| **regex** | TODO |
|
||||||
| **type** | type of variable, i.e. `custom`, `query` or `interval` |
|
| **type** | type of variable, i.e. `custom`, `query` or `interval` |
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ function (angular, _) {
|
|||||||
var replacementDefaults = {
|
var replacementDefaults = {
|
||||||
type: 'query',
|
type: 'query',
|
||||||
datasource: null,
|
datasource: null,
|
||||||
refresh_on_load: false,
|
refresh: false,
|
||||||
name: '',
|
name: '',
|
||||||
options: [],
|
options: [],
|
||||||
includeAll: false,
|
includeAll: false,
|
||||||
|
@ -241,7 +241,7 @@
|
|||||||
{
|
{
|
||||||
"type": "query",
|
"type": "query",
|
||||||
"datasource": null,
|
"datasource": null,
|
||||||
"refresh_on_load": false,
|
"refresh": false,
|
||||||
"name": "metric",
|
"name": "metric",
|
||||||
"options": [],
|
"options": [],
|
||||||
"includeAll": true,
|
"includeAll": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user