74 Commits

Author SHA1 Message Date
1ab9fc871c cleanup. remove comments, not used files etc 2019-01-02 15:35:36 +01:00
0e49225d1d merge from 14293-metric-display-names 2019-01-02 15:07:38 +01:00
e180cf54ce move component to components dir. also move directive registration out from datasource 2019-01-02 13:03:20 +01:00
70071e5dad rename template variables prop 2019-01-02 13:03:20 +01:00
cf50cf167c rename selected prop 2019-01-02 13:03:20 +01:00
ed673d35f5 rename searchable prop 2019-01-02 13:03:20 +01:00
00a763511e move template variable logic to component 2019-01-02 13:03:19 +01:00
55f558cb7c rename directive 2019-01-02 13:03:18 +01:00
4734788db4 use new generic picker 2019-01-02 13:03:17 +01:00
406c0d15a5 remove redundant default value 2019-01-02 13:03:16 +01:00
b5d6cd1cc8 wip: add option group component 2019-01-02 13:03:16 +01:00
70c2efd711 Wrap react select component in angular directive 2019-01-02 13:03:15 +01:00
8a916757d7 remove segment srv prop 2018-12-21 23:28:21 +01:00
b9cf15786d use ds template srv reference 2018-12-21 23:21:55 +01:00
2f342b8917 remove not used stuff 2018-12-21 23:07:46 +01:00
31254e1c72 add event handler 2018-12-21 22:04:46 +01:00
ec68c65660 flatten target obj 2018-12-20 11:00:16 +01:00
a955caa9ac cleanup 2018-12-19 14:19:27 +01:00
9e558b70d7 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/sass/_grafana.scss
2018-12-19 09:21:35 +01:00
9507dfe13c move template variable logic to component 2018-12-18 16:01:12 +01:00
d23d4c2ca0 rename directive 2018-12-18 11:31:11 +01:00
8430c5a491 use new generic picker 2018-12-18 11:25:13 +01:00
2ac1fe2a17 remove redundant default value 2018-12-18 10:37:46 +01:00
fe4c77a8a4 wip: add option group component 2018-12-18 10:37:46 +01:00
73b5bc680f Wrap react select component in angular directive 2018-12-18 10:36:59 +01:00
146aa7abab wip: convert angular directives to react components 2018-12-13 16:40:14 +01:00
ad55be9865 break out metric picker and filter 2018-12-13 00:16:48 +01:00
33146b248e remove redundant default value 2018-12-12 09:14:06 +01:00
ab5e5de814 wip: add option group component 2018-12-11 20:12:33 +01:00
847f5491bf Wrap react select component in angular directive 2018-12-11 13:14:55 +01:00
7021e07ab2 stackdriver: remove not used variable 2018-11-20 13:22:43 +01:00
69137e6774 stackdriver: revert project test stuff 2018-11-15 13:23:42 +01:00
e698202fae stackdriver: use new naming convention for query editor all over 2018-11-13 10:57:10 +01:00
c5af0bf1c5 Resource type filter (#13784)
* stackdriver: add resource type to filter and group bys

* stackdriver: remove not used param

* stackdriver: refactor filter and group by code

* stackdriver: remove resource type if its already in filter list

* stackdriver: remove debug logging

* stackdriver: remove more debug logging

* stackdriver: append resource type to legend name if there are more than one type present in the response

* stackdriver: only make new request if filter has real value

* stackdriver: format legend support for resource type

* stackdriver: add resource type to documentation

* stackdriver: not returning promise from query function

* stackdriver: fix refactoring bug

* stackdriver: remove not used import
2018-10-24 11:18:49 +02:00
09fb1760a1 stackdriver: only load default project from backend if it's not available on the target. this might happen when using gce authentication and provisioning 2018-10-22 16:08:11 +02:00
4abd04a5cf stackdriver: use correct default value for alignment period 2018-09-28 15:23:13 +02:00
ea1859a374 stackdriver: extract out filter, metric type directive 2018-09-27 14:31:39 +02:00
251bb09aed stackdriver: convert most common stackdriver units to grafana units if possible 2018-09-27 14:03:52 +02:00
ed6d3bf6ed stackdriver: WIP - implement stackdriver style auto alignment period. also return the used alignment period and display it in the query editor 2018-09-26 17:50:08 +02:00
b883d7c1f3 stackdriver: make sure service and metric display name is used instead of value when loading a saved query editor 2018-09-26 15:01:02 +02:00
2965f58838 stackdriver: use correct event name 2018-09-26 13:42:53 +02:00
1a91e0baf6 stackdriver: update aggregation and alignment before refreshing when changing metric 2018-09-26 13:22:20 +02:00
508601c28c stackdriver: use correct naming convention 2018-09-26 11:23:46 +02:00
49cd31ab78 stackdriver: get value type and metric kind from metric descriptor instead of from latest metric result 2018-09-26 11:17:24 +02:00
3f7314831f stackdriver: wip: split metric dropdown into two parts - resource and metric 2018-09-25 16:51:12 +02:00
b6a918ba79 stackdriver: merge commit 2018-09-25 15:13:24 +02:00
7666e7bfe3 stackdriver: break out aggretation logic into its own directive and controller. also adds tests for new dropdown population logic 2018-09-25 14:42:47 +02:00
b700c6b0e4 stackdriver: populate alignment and aggregation dropdowns based on metric type and value type 2018-09-25 09:34:14 +02:00
fbc1af6cd5 stackdriver: better error handling for getLabels 2018-09-24 15:40:10 +02:00
c9ee05422f stackdriver: move getLabels from query_ctrl to datasource
so can reuse for annotation query ctrl.
2018-09-24 15:26:49 +02:00