Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
8e0bba4f
Commit
8e0bba4f
authored
Dec 01, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(templating): minor fix to default property name, fixes #3378
parent
4cc61d10
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
docs/sources/reference/dashboard.md
+4
-4
public/app/features/templating/editorCtrl.js
+1
-1
public/dashboards/template_vars.json
+1
-1
No files found.
docs/sources/reference/dashboard.md
View file @
8e0bba4f
----
page_title: Dashboard JSON
page_title: Dashboard JSON
page_description: Dashboard JSON Reference
page_keywords: grafana, dashboard, json, documentation
---
...
...
@@ -363,7 +363,7 @@ Usage of the fields is explained below:
],
"query": "tag_values(cpu.utilization.average,env)",
"refresh": false,
"refresh
_on_load
": false,
"refresh": false,
"type": "query"
},
{
...
...
@@ -390,7 +390,7 @@ Usage of the fields is explained below:
}
],
"query": "tag_values(cpu.utilization.average,app)",
"refresh
_on_load
": false,
"refresh": false,
"regex": "",
"type": "query"
}
...
...
@@ -413,7 +413,7 @@ Usage of the above mentioned fields in the templating section is explained below
|
**name**
| name of variable |
|
**options**
| array of variable text/value pairs available for selection on dashboard |
|
**query**
| datasource query used to fetch values for a variable |
|
**refresh
_on_load
**
| TODO |
|
**refresh**
| TODO |
|
**regex**
| TODO |
|
**type**
| type of variable, i.e.
`custom`
,
`query`
or
`interval`
|
...
...
public/app/features/templating/editorCtrl.js
View file @
8e0bba4f
...
...
@@ -12,7 +12,7 @@ function (angular, _) {
var
replacementDefaults
=
{
type
:
'query'
,
datasource
:
null
,
refresh
_on_load
:
false
,
refresh
:
false
,
name
:
''
,
options
:
[],
includeAll
:
false
,
...
...
public/dashboards/template_vars.json
View file @
8e0bba4f
...
...
@@ -241,7 +241,7 @@
{
"type"
:
"query"
,
"datasource"
:
null
,
"refresh
_on_load
"
:
false
,
"refresh"
:
false
,
"name"
:
"metric"
,
"options"
:
[],
"includeAll"
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment