Commit Graph

365 Commits

Author SHA1 Message Date
Torkel Ödegaard
5c3a0a624a Fix: Template query editor this bind exception fix (#16299)
Also fixes the default 100% width of inputs.
Fixes #16298
2019-03-29 14:25:11 +01:00
Peter Holmberg
4898502e4e refactor(grafana/ui): Replace <input />with Input component from grafana/ui (#16085)
* replace with Input component from grafana/ui

* removing placeholder classname

* change import

* fix import
2019-03-25 15:53:05 +01:00
Torkel Ödegaard
d7dc6ad3f4 Fixed type issues introduced by adding angular types 2019-03-12 15:27:02 +01:00
Daniel Lee
35fc0c5329 stackdriver: change reducer mapping for distribution metrics
- Distribution metrics are now mapped to more reducers
when the metric kind is cumulative.
- The witdth of the metrics dropdown is now much wider.
- Changed the text from Select Aggregation to Select Reducer
to line up with the UI in Stackdriver.
2019-02-24 17:44:15 +01:00
Dominik Prokop
88a46e6dd4 Bump Prettier version (#15532)
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +01:00
Daniel Lee
1ecd70e2dd stackdriver: fixes #15182
For the filter expression, a better default is to
interpolate multi variables as a regex rather than
the default globbing pattern.

Also, uses the real TemplateSrv class rather than
stubbing it in the tests.
2019-02-05 15:42:59 +01:00
Daniel Lee
0302c7afa7 stackdriver: add some more typings 2019-02-05 15:28:03 +01:00
ryan
275800cca9 improve the stackdriver logo 2019-02-04 23:19:14 -08:00
Robert Edström
9b6746d808 Change primaryAggregation to crossSeriesReducer in Stackdriver 2019-01-29 19:11:54 +01:00
Daniel Lee
4a057ef725 stackdriver: remove beta notice from config page 2019-01-29 12:00:52 +01:00
Johannes Schill
1dfabf498a chore: Replace the deprecated SFC with FC 2019-01-17 09:27:43 +01:00
Daniel Lee
7b1aed6caf stackdriver: converts some variables from any to types 2019-01-14 23:43:31 +01:00
Daniel Lee
18abb87cbb stackdriver: small fixes after reactifying 2019-01-14 18:23:01 +01:00
Daniel Lee
b4a51ad7ce stackdriver: add help text for bucket alias 2019-01-14 17:52:06 +01:00
Daniel Lee
d7a3f91b3c stackdriver: fixes space before caret icon in query editor 2019-01-14 17:25:43 +01:00
Erik Sundell
b6171fa3c7 add feedback to what interval is being used (calculated in the backend) 2019-01-11 15:14:35 +01:00
Erik Sundell
b596550210 use typings for ds and template srv 2019-01-11 13:53:04 +01:00
Erik Sundell
3871ef29f9 refactoring alias by 2019-01-11 10:29:53 +01:00
Erik Sundell
b64115e5f5 access scope directly from this. update tests 2019-01-10 17:18:24 +01:00
Erik Sundell
6a2f5eb61e refactoring. fix broken test 2019-01-10 13:49:11 +01:00
Erik Sundell
5fed50713d provide angular directive scope props correctly 2019-01-10 12:02:38 +01:00
Erik Sundell
23996b364e fix broken test 2019-01-09 14:44:47 +01:00
Erik Sundell
92121cacd1 Merge remote-tracking branch 'origin/master' into reactify-stackdriver
# Conflicts:
#	yarn.lock
2019-01-09 14:33:41 +01:00
Erik Sundell
d51f91f54b unregister event listener correctly 2019-01-09 13:56:15 +01:00
Erik Sundell
ae50d83608 update snapshot 2019-01-08 16:21:38 +01:00
Erik Sundell
6c00f3e511 add form grow 2019-01-08 16:08:09 +01:00
Erik Sundell
b8c2ba3320 add typing for metric descriptor 2019-01-08 14:03:52 +01:00
Erik Sundell
8867d8e99c make templateSrv a prop 2019-01-08 13:52:19 +01:00
Erik Sundell
dc7f98de6a use correct event handler name convention. register directive on startup 2019-01-08 13:37:08 +01:00
Erik Sundell
f9f51d6819 replace fragment with empty jsx tags 2019-01-08 13:00:31 +01:00
Erik Sundell
e71e2b3035 refactoring tests 2019-01-08 12:52:47 +01:00
Erik Sundell
803d546c70 ugly fix. will be removed later on 2019-01-08 12:44:43 +01:00
Daniel Lee
f95b4b3882 Merge pull request #14735 from challengerdeep/14581_fix-stackdriver-series-aggregation-merge
Fix stackdriver aggregation series merge
2019-01-08 10:40:37 +01:00
Erik Sundell
d6e7fccc97 fix more broken tests 2019-01-08 10:00:10 +01:00
Erik Sundell
c964d6d7ef wip: fix broken tests 2019-01-08 08:51:34 +01:00
Erik Sundell
87cb3d4caa ugly temporary fix for scope issue. will be removed later on 2019-01-07 14:52:36 +01:00
Erik Sundell
e75aec9954 refactoring 2019-01-07 14:51:20 +01:00
Erik Sundell
e61fa37db4 fix filter bug 2019-01-07 14:15:53 +01:00
Erik Sundell
49144f07e4 Merge branch '14293-metric-display-names' into reactify-stackdriver
# Conflicts:
#	public/app/plugins/datasource/stackdriver/partials/query.aggregation.html
#	public/app/plugins/datasource/stackdriver/partials/query.editor.html
#	public/app/plugins/datasource/stackdriver/partials/query.filter.html
#	public/app/plugins/datasource/stackdriver/query_aggregation_ctrl.ts
#	public/app/plugins/datasource/stackdriver/query_ctrl.ts
#	public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts
#	public/app/plugins/datasource/stackdriver/specs/query_aggregation_ctrl.test.ts
2019-01-07 13:59:36 +01:00
Erik Sundell
9ec6831713 bind array instead of function 2019-01-07 13:37:39 +01:00
Erik Sundell
7b4b1a4f90 remove not used property 2019-01-07 11:26:06 +01:00
Erik Sundell
899811a934 fix broken tests 2019-01-07 11:26:06 +01:00
Erik Sundell
4928984825 set issearchable default value to true 2019-01-07 11:26:06 +01:00
Erik Sundell
786df7920e remove group name from select component. let the parent set group name instead 2019-01-07 11:26:06 +01:00
Erik Sundell
03856b4e55 move component to components dir. also move directive registration out from datasource 2019-01-07 11:26:06 +01:00
Erik Sundell
58bea1de79 add template variable type 2019-01-07 11:26:06 +01:00
Erik Sundell
96d65b55b6 rename template variables prop 2019-01-07 11:26:06 +01:00
Erik Sundell
ff762c213f rename selected prop 2019-01-07 11:26:06 +01:00
Erik Sundell
3ca5abf5e9 rename searchable prop 2019-01-07 11:26:06 +01:00
Erik Sundell
1e5f2f56e0 improve component performance 2019-01-07 11:26:05 +01:00