thuck
555acacd6d
Validate query to avoid self-reference of variable #7614
2017-03-07 23:29:16 +01:00
Ross Lodge
70c2586c80
Use other variable dependencies in regex filter for datasource variable ( #7547 )
2017-03-07 08:39:19 +01:00
Mitsuhiro Tanda
a24ac012c4
support full resolution for $interval variable ( #7696 )
2017-03-07 08:35:29 +01:00
Denis Doria
31866b5e57
Allow commas on template variable #7681 ( #7732 )
...
This improvement allows to wrap an "expression" when using single or
double quotes. So now you can have time interval with offset for
influxdb.
2017-03-06 08:37:49 +01:00
bergquist
9b6571fab1
template: dont allow template variables to begin with '__'
...
closes #7678
2017-02-28 17:04:47 +01:00
Torkel Ödegaard
38126bc595
fix(templating): fixed issue detecting template variable dependency, fixes #7354
2017-02-20 09:31:50 +01:00
bergquist
a747d33373
templating: allow whitespace values
...
closes #7382
2017-02-16 15:58:01 +01:00
bergquist
d72011589e
templating: refactor sorting test
2017-02-16 14:22:38 +01:00
bergquist
927b39fa63
templating: adds test for sorting template values
2017-02-16 14:14:17 +01:00
Mitsuhiro Tanda
91999851cb
support regex expansion in templating "Regex" field ( #6565 )
2017-01-31 15:21:53 +01:00
Torkel Ödegaard
0683742e83
tech(library upgrade): fixed unit test broken by angularjs upgrade, #7274
2017-01-16 22:27:35 +01:00
Torkel Ödegaard
49fe74228b
fix(browser history): fixes and enhancements to browser history, it now works properly again AND it can restore previous time ranges in dashboards, closes #7259
2017-01-13 17:37:53 +01:00
Torkel Ödegaard
149dd78298
Merge branch 'built_in_template_variables'
2017-01-11 12:10:33 +01:00
Torkel Ödegaard
b475f91387
feat(templating): completed work on built in template variables and , closes #7190 , refactors #7170
2017-01-11 12:10:26 +01:00
Torkel Ödegaard
8c39cd35f0
progress on interval built in variable
2017-01-11 10:18:21 +01:00
Utkarsh Bhatnagar
7e3ccdf983
Fixed opentsdb templating bug ( #7208 )
2017-01-10 21:35:05 +01:00
Torkel Ödegaard
e218837380
began work on built in template variables, #7190
2017-01-09 15:31:19 +01:00
Torkel Ödegaard
9dc42648cf
fix(templating): fixed issue with experimental feature template variable value groups tags, fixes #6752
2017-01-02 13:32:20 +01:00
Mitsuhiro Tanda
5f6a3ecd56
(cloudwatch) don't expand variable when panel or row repeat is used ( #6618 )
...
* (cloudwatch) don't expand variable when panel or row repeat is used
* fix test
2016-12-06 08:16:41 +01:00
Torkel Ödegaard
a9c0f66cda
fix(influxdb): Fix for Ad-Hoc Filters variable & changing dashboards, fixes #6821
2016-12-05 11:04:05 +01:00
Torkel Ödegaard
2a33594c02
fix(templating): fixed duplicate button bug, fixes #6652
2016-11-22 14:20:24 +01:00
Torkel Ödegaard
98d1748e43
fix(templating): work on fixing exporting issues when using templating variables, like data source variables, and panel repeats, requires more work #6189
2016-11-17 12:32:11 +01:00
Torkel Ödegaard
9d5928ddd6
feat(templating): don't persist template variable options when variable has refresh enabled, closes #6586
2016-11-17 11:38:06 +01:00
Torkel Ödegaard
eafe0d6bfa
fix(templating): fixed issue when adding template variable, fixes #6622
2016-11-17 11:28:33 +01:00
Torkel Ödegaard
2da2d5df56
Merge branch 'master' of github.com:grafana/grafana
2016-11-04 12:15:08 +01:00
Ryan Bak
7165c866c2
Add blank default options for constant templates ( #6460 )
...
Restores ability to change constant templates without going into
templating menu
2016-11-04 11:41:39 +01:00
utkarshcmu
849ac9441a
Fixed multi-value nested templating for opentsdb
2016-11-03 01:18:54 -07:00
Torkel Ödegaard
4d420a0c33
refactor(): dashboard row model and hunting down memory leak
2016-10-30 15:14:18 +01:00
Torkel Ödegaard
be99c3e20a
updates to dashboard edit mode
2016-10-28 16:26:53 +02:00
Torkel Ödegaard
7b0eb6d0bb
feat(dashboard): progress on dash edit mode
2016-10-25 16:36:40 +02:00
Torkel Ödegaard
5a1a80bcdd
feat(templating): adding missing label property to query variable defaults, fixes #6150
2016-09-29 14:46:59 +02:00
Torkel Ödegaard
599fe49944
fix(templating): fix to datasource variable, was not updated on dashboard load, added unit test for case as well
2016-09-28 12:12:38 +02:00
Torkel Ödegaard
34f15d92d0
feat(testdata): worked on testdata app
2016-09-27 14:39:51 +02:00
Torkel Ödegaard
e36cdac594
fix(templating): fixed issue with templating when initalizing variables without any existing value
2016-09-22 21:49:41 +02:00
Torkel Ödegaard
d8df421b43
fix(build): fixed issues with optimized build, fixes #6096
2016-09-22 10:22:16 +02:00
Torkel Ödegaard
2752dbd13a
feat(templating): minor fixes to recent refactorings
2016-09-22 09:00:15 +02:00
Torkel Ödegaard
9e26a4cfcb
fix(templating): fixed unique filter after regex pass, fixes #6086
2016-09-21 15:30:11 +02:00
Torkel Ödegaard
d0b75cdb66
fix(templating): fixed issue with regex in query variable introduced by yesterdays big merged refactoring of template variable system
2016-09-21 11:38:59 +02:00
Torkel Ödegaard
a01836e86d
feat(adhoc filters): basic implementation for ad hoc filters for elasticsearch, #6038
2016-09-21 08:48:49 +02:00
Torkel Ödegaard
1b02632de8
fix(jslint): fixed lint issue
2016-09-20 17:36:20 +02:00
Torkel Ödegaard
15423e6e51
feat(adhoc filters): initial base mvp for adhoc filters are donecloses #6038
2016-09-20 17:34:38 +02:00
Torkel Ödegaard
dfe0f91105
feat(adhoc): adhoc filters progress
2016-09-20 16:29:48 +02:00
Torkel Ödegaard
6e429b8575
feat(adhoc filters): good progress on ad hoc filters and sync from to url, #6038
2016-09-20 11:57:43 +02:00
Torkel Ödegaard
cb522d58cd
feat(templating): back to be able to continue work on ad hoc filters, #6048
2016-09-19 18:41:42 +02:00
Torkel Ödegaard
7a6fb70026
feat(templating): progress on variable system refactoring, #6048
2016-09-19 18:32:09 +02:00
Torkel Ödegaard
9d6ecc6361
feat(templating): progress on variable system refactoring, #6048
2016-09-19 18:06:36 +02:00
Torkel Ödegaard
945b5ee3cf
feat(templating): progress on variable system refactoring, #6048
2016-09-19 17:03:36 +02:00
Torkel Ödegaard
8a796c5b4b
feat(templating): progress on variable system refactoring, #6048
2016-09-19 15:15:15 +02:00
Torkel Ödegaard
5ded88fa4d
feat(templating): progress on variable system refactoring, #6048
2016-09-19 11:34:08 +02:00
Torkel Ödegaard
5ce3e40cc9
feat(templating): more work on new variable handling code, #6048
2016-09-17 15:27:53 +02:00
Torkel Ödegaard
4188c46f83
feat(templating): more work on new variable handling code, #6048
2016-09-17 11:28:45 +02:00
Torkel Ödegaard
46ebae7304
feat(templating): progress on template system rewrite #6048
2016-09-16 16:50:30 +02:00
Torkel Ödegaard
7e8b279895
feat(templating): good progress on new variable update code, #6048
2016-09-16 10:48:03 +02:00
Torkel Ödegaard
0f4a9f1ed1
feat(templating): began refactoring variables into rich behavioral classes
2016-09-15 14:53:36 +02:00
Torkel Ödegaard
94e5001c0e
feat(templating): making progress on adhoc template variable, #6038
2016-09-15 09:18:28 +02:00
Torkel Ödegaard
83b9db51e3
feat(templating): great progress on adhoc filters, #6038
2016-09-14 17:36:28 +02:00
Torkel Ödegaard
0a44add6c9
feat(adhoc fiters): began work on ad-hoc filters, refactored submenu filters to use gf-form styles, #6038
2016-09-14 11:21:02 +02:00
Torkel Ödegaard
0fa0066cd9
tech(lodash): began migration work
2016-09-13 22:10:44 +02:00
bergquist
03fb152d4b
tech(templates): extract sort method
2016-09-13 08:11:04 +02:00
bergquist
9c5436c648
feat(templating): set default sort order
2016-09-13 07:39:30 +02:00
bergquist
e348822190
Merge branch 'template_sort' of https://github.com/mtanda/grafana into mtanda-template_sort
2016-09-13 07:16:34 +02:00
bmundt
6d1dd95ab3
adds check for making datasource template variables children of other template variables ( #5717 )
2016-08-05 10:03:46 +02:00
Torkel Ödegaard
9fd7676846
Merge branch 'v3.1.x'
2016-07-25 12:03:40 +02:00
Torkel Ödegaard
0de0f4d014
feat(templating): fixed issue with template variables set to reload on dashboard load being issued multiple times, fixes #5637
2016-07-25 12:02:59 +02:00
Torkel Ödegaard
7c7e26bc18
feat(templating): refactoring template variable handling for variables that change on time refresh, closes #5021
2016-07-06 08:25:46 +02:00
Torkel Ödegaard
069100099d
Merge branch 'reflect_panel_repeat_when_time_range_changed' of https://github.com/mtanda/grafana
2016-07-06 07:40:51 +02:00
Mitsuhiro Tanda
8af3bb739c
refactor
2016-06-26 22:39:34 +09:00
Mitsuhiro Tanda
16dc095329
(templating) support asc/desc sort
2016-06-23 11:26:41 +09:00
Mitsuhiro Tanda
8987cfe0a2
(templating) add sort order option
2016-06-23 11:26:41 +09:00
minki
05cb6048ae
fixed separate typo
2016-05-23 09:32:18 +09:00
Torkel Ödegaard
1ea54049d0
feat(templating): added new template variable type constant
2016-05-28 16:59:29 +02:00
Torkel Ödegaard
bf90fbc678
fix(templating): fixed failing templating unit test
2016-05-27 09:23:08 +02:00
Torkel Ödegaard
696fad702f
Merge branch 'v3.0.x'
...
Conflicts:
public/app/features/templating/templateValuesSrv.js
2016-05-26 14:21:17 +02:00
Torkel Ödegaard
724a511995
fix(templating): fixed issue with value being shown instead of it's text representation, fixes #5172
2016-05-26 13:18:02 +02:00
Torkel Ödegaard
f5c5d1b1da
Merge branch 'master' of github.com:grafana/grafana
2016-05-25 11:04:27 +02:00
Torkel Ödegaard
0daadc954c
fix(templating): fixed issue with detecting data source variable in other template variable definition, fixes #5165
2016-05-25 10:46:55 +02:00
Torkel Ödegaard
41deea90ee
feat(dashboard): template variable changes updates url, closes #5002
2016-05-24 16:34:17 +02:00
Torkel Ödegaard
6f094ef215
fix(templating): fixed issue with nested template variables and multi select, the child variable selection state is now updated like single select variables, so if none matches the first option is selected, fixes #4861
2016-05-24 09:50:23 +02:00
Torkel Ödegaard
dc77d555f9
fix(elasticsearch): fixed templating issue with elasticsearch, fixes #5135
2016-05-23 10:58:31 +02:00
Torkel Ödegaard
e0e8fd6637
fix(templating): fixed handling of numeric values in tempalting query results, fixes #5097
2016-05-20 10:24:24 +02:00
Torkel Ödegaard
2416ee04c8
fix(templating): fixed detection of nested template variables, fixes #5103
2016-05-20 09:58:07 +02:00
Mitsuhiro Tanda
f585d22ce7
(templating) update dynamic dashboard only if variable is changed
2016-05-16 19:26:24 +09:00
Mitsuhiro Tanda
3b85901b95
reflect panel repeat status when variable updated
2016-05-13 16:29:11 +09:00
Torkel Ödegaard
35f55cabf0
fix(templating): improved detection of nested template variables, fixes #4986 , fixes #4987
2016-05-12 10:41:15 +02:00
Torkel Ödegaard
8a3bdb3685
fix(typo): corrected spelling in error message, fixes #4982
2016-05-11 13:21:25 +02:00
Torkel Ödegaard
040dd91d2e
fix(templating): fixed issue with current data source variable value, fixes #4934
2016-05-09 10:17:30 +02:00
Torkel Ödegaard
6b467d5b3e
fix(): spelling fix in templating editor
2016-04-29 08:40:53 +02:00
Torkel Ödegaard
8b4c7c94b8
feat(templating): completed work on templating as data source, closes #816
2016-04-28 19:31:43 +02:00
Torkel Ödegaard
7349427189
feat(data source variable): progress on data source as variable
2016-04-28 19:08:35 +02:00
Torkel Ödegaard
89ea25ca08
feat(templating): minor sort fix
2016-04-28 18:26:41 +02:00
Torkel Ödegaard
1dfeb192a3
fix(templating): another fix for templating and custom all value escaping, fixes #4787
2016-04-22 13:59:54 +02:00
Torkel Ödegaard
bd21a08bc9
fix(templating): fixed encoding of all value for regex, and custom all value, fixes #4755 , fixes #4736
2016-04-18 17:33:51 -04:00
Torkel Ödegaard
13471ae2c4
feat(templating): templated ds progress
2016-04-16 13:43:16 -04:00
Torkel Ödegaard
1cce5fdfe1
feat(templating): polished variable template edit forms, added new template variable type: datasource
2016-04-16 12:03:29 -04:00
Torkel Ödegaard
4f2628c221
fix(): fixed issue with templating preview, fixes #4714
2016-04-15 18:50:48 -04:00
Torkel Ödegaard
8e37de19c9
ux(): minor fix to tooltip in template editor view
2016-04-15 14:36:43 -04:00
Torkel Ödegaard
7456514816
fix(templating): fixed issue with template variables that use regex extraction, fixes #4672
2016-04-13 16:41:19 -04:00
Torkel Ödegaard
44cf66d7ff
refactoring(): fixing event things
2016-04-07 19:23:20 -04:00
Torkel Ödegaard
3dbfd49414
ux(): templating forms polish
2016-03-29 22:24:08 +02:00
Torkel Ödegaard
06468d6f43
Merge pull request #4368 from simnv/variable-escape
...
Slash escape regex
2016-03-20 11:22:33 +01:00
Torkel Ödegaard
d26d7162a5
fix(opentsdb): fixed templating issue for single value variables, fixes #4312
2016-03-16 13:11:07 +01:00
simnv
be8ec24106
Slash escape regex
...
Slash symbol "/" wasn't escaped when we chose variable from template dropdown, so we couldn't choose interface names like Gi9/10 when querying from influxdb.
2016-03-15 16:05:32 +05:00
Torkel Ödegaard
4aba3bc62b
fix(opentsdb): fixed templating issue for OpenTSDB, fixes #4312 , fixes #4311
2016-03-14 10:18:43 +01:00
Mitsuhiro Tanda
df2a23d1a7
fix to use variable.refresh flag
2016-03-10 13:19:07 +09:00
Torkel Ödegaard
4a5b753fd8
feat(templating): refactoring of the refresh values of #4281
2016-03-09 13:10:02 +01:00
bergquist
f0d1853a66
style(templating): tigth-form -> gf-form
2016-03-09 11:56:52 +01:00
Mitsuhiro Tanda
aff4bf8f6c
minor refactoring
2016-03-09 01:47:38 +09:00
Mitsuhiro Tanda
ba1e1532ac
change option name more clearly
2016-03-09 00:53:43 +09:00
NickG123
f11b4cb481
Added a select box to templates that allows template values to be refreshed on refresh
2016-03-09 00:40:33 +09:00
Torkel Ödegaard
2475ca8f9a
fix(templaing): refactoring PR #4283
2016-03-08 09:32:54 +01:00
woodsaj
dc4743a392
ensure current template variable is set.
...
- When distributing a dashboard it is often not practical to have
"current" template variable option set. This commit ensures that
for dashboards with no current, it is assigned when the dashboard
loads (assuming refresh on load is set.)
2016-03-08 15:41:24 +08:00
woodsaj
0cb57f52de
refactor how template vars are updated. fixes #4283
...
Use promises to order the updates of variable options so that
parents are always updated before children.
This ensures that we only need to query the datasource once per
variable as variables that depend on other variables will only be
processed once their parent has been.
This commit also ensures that variable options are refreshed if
"refresh_on_load" is true even when query params are used to
set the variable seltion.
2016-03-08 15:03:34 +08:00
Torkel Ödegaard
1ed4f64e60
templating(): minor update to regex escape chars, #2918
2016-03-02 08:44:20 +01:00
Torkel Ödegaard
4872f6d2dc
fix(jshint): removed unused var
2016-03-02 07:54:10 +01:00
Torkel Ödegaard
3c30870dc2
fix(templating): fixed issue with custom all value, fixes #4219
2016-03-02 07:52:48 +01:00
Torkel Ödegaard
0da4168836
fix(prometheus): fixed templating issue with prometheus for when using variable with non regex operator, #2918
2016-03-01 21:35:55 +01:00
Torkel Ödegaard
df67d57bca
ux(): minor work on info popover
2016-03-01 21:01:41 +01:00
Torkel Ödegaard
57315f1e27
feat(templating): updates to template variable forms
2016-03-01 19:12:54 +01:00
Torkel Ödegaard
d1bac6cde0
feat(templating): prometheus now works with new template variable formating/escaping, #2918
2016-03-01 16:11:05 +01:00
Torkel Ödegaard
fa73b1ce80
feat(templating): changed how the All templating value works
2016-03-01 13:47:02 +01:00
Torkel Ödegaard
8f5a7f1764
feat(templating): more work on context specific varaiable formats, #2918
2016-03-01 10:51:39 +01:00
Torkel Ödegaard
f3ad71d751
feat(templating): lots of progress on template variable context specific formats, #2918 , all elasticsearch / lucene use cases seem to work now
2016-03-01 08:43:54 +01:00
Torkel Ödegaard
cb8b038795
feat(templating): progress on templating rethink
2016-02-29 17:31:31 +01:00
Torkel Ödegaard
078e69d06d
feat(templating): simplified templating forms removed all formats
2016-02-29 17:07:53 +01:00
Torkel Ödegaard
f44d6e063c
Merge branch 'master' into variable-value-formatting-rethink
2016-02-29 16:42:25 +01:00
Torkel Ödegaard
97c27668bc
fix(): fix failing build and removed panel icon from edit mode tabs
2016-02-29 14:15:46 +01:00
Torkel Ödegaard
d3c022f89e
Merge branch 'master' of github.com:grafana/grafana
2016-02-29 13:43:18 +01:00
Torkel Ödegaard
3624587f08
misc(): added elasticsearch.yml config file to docker test env
2016-02-29 13:42:55 +01:00
bergquist
86b1906798
fix(templating): make checkboxes a new row
2016-02-29 10:29:40 +01:00
bergquist
18a0a85df6
Merge branch 'hide_template' of https://github.com/mtanda/grafana into mtanda-hide_template
2016-02-29 10:20:44 +01:00
benrubson
a4ecacb9b5
rebase against master
2016-02-28 15:32:34 +01:00
Torkel Ödegaard
4ef79d250d
feat(templating): initial work on rethink of value formating
2016-02-28 11:44:11 +01:00
benrubson
f4037667fa
rebase against master
2016-02-28 10:43:11 +01:00
benrubson
a1fd12ef42
rebase against master
2016-02-28 10:05:12 +01:00
Mitsuhiro Tanda
45e6187c1a
add hide template variable option
2016-02-26 00:43:48 +09:00
Torkel Ödegaard
22ae259cf5
ux(): varios tweaks and polish
2016-02-24 17:49:08 +01:00
bergquist
3db1188444
ux(templates): move create new button to bottom of page
2016-02-24 15:18:08 +01:00
bergquist
f6457a2023
ux(templating): tight-form -> gf-form
2016-02-24 11:56:45 +01:00
bergquist
e7828c1e5e
ux(templating): tight-form -> gf-form
2016-02-23 19:04:54 +01:00
benrubson
c9fe2bab60
make it more smartly
2016-02-22 10:27:08 +01:00
benrubson
6f70445654
Add some more auto interval steps
2016-02-22 08:02:01 +01:00
benrubson
d6e4fb46cf
Add a minimum value option for template auto interval
2016-02-21 21:48:09 +01:00
Johannes 'fish' Ziemke
c30c9fbca9
Clarify template option auto interval in tooltip
2015-12-11 16:47:05 +01:00
Torkel Ödegaard
77c510c364
fix(graph legend): fixed issue with escaping html text in graph legend, and in function param, fixes #3482
2015-12-10 13:27:57 +01:00
utkarshcmu
2b263bcb5d
Fixed closing tag
2015-12-07 05:06:52 -08:00
Torkel Ödegaard
24324939e1
Merge branch 'fix_refresh_variable_from_url' of https://github.com/toni-moreno/grafana into toni-moreno-fix_refresh_variable_from_url
2015-12-01 15:28:48 +01:00
Torkel Ödegaard
8e0bba4f99
fix(templating): minor fix to default property name, fixes #3378
2015-12-01 09:01:44 +01:00
Torkel Ödegaard
57a31828f8
fix(templating): very minor markup/css change
2015-11-20 08:18:03 +01:00
Torkel Ödegaard
0c7fccdcbe
Merge pull request #2812 from utkarshcmu/master
...
Duplicate button for template variables
2015-11-20 08:14:20 +01:00
toni-moreno
1c35d4b26b
removed autoupdate on variabe refresh, don't needed if working interactive and fix #2722
2015-11-16 21:55:23 +01:00