37 Commits

Author SHA1 Message Date
03b43ab769 stackdriver: wip annotation support 2018-09-27 15:18:10 +02:00
c099074d2c stackdriver: remove debug logging 2018-09-27 10:41:51 +02:00
0507ff69fb stackdriver: resolve merge conflict 2018-09-27 10:32:30 +02:00
481b8653d9 stackdriver: update alignment period rules according to stackdriver 2018-09-27 10:20:01 +02:00
6358d3f314 stackdriver: set target to be raw query 2018-09-27 10:14:10 +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
af9033f3e0 stackdriver: distinct grafana auto from stackdriver auto in alignment period 2018-09-26 15:44:09 +02:00
13c68e6ed8 stackdriver: use correct name for variable 2018-09-26 15:37:29 +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
b6a918ba79 stackdriver: merge commit 2018-09-25 15:13:24 +02:00
b700c6b0e4 stackdriver: populate alignment and aggregation dropdowns based on metric type and value type 2018-09-25 09:34:14 +02:00
4777689f29 stackdriver: skeleton for more query types on the backend 2018-09-24 16:02:35 +02:00
681cd7496e stackdriver: alias patterns WIP
This is using the {{}} syntax for alias patterns. Might
switch to the  syntax instead.
2018-09-23 22:04:24 +02:00
040095b5a8 fix: use same User-Agent header as in other places in grafana when making external requests 2018-09-21 11:35:55 +02:00
8d1f293676 stackdriver: use group by fields to create default alias 2018-09-20 00:52:14 +02:00
408d4bda95 stackdriver: add custom User-Agent header 2018-09-18 16:07:14 +02:00
e05b86375b stackdriver: remove hardcoding of test project name 2018-09-18 16:02:38 +02:00
edf38f040d stackdriver: making sure we dont pass too big alignmentPeriods to the stackdriver api 2018-09-17 17:13:06 +02:00
109f00f584 stackdriver: adds default value for alignment period 2018-09-17 16:33:10 +02:00
71b1f7f8fd stackdriver: use alignment period that is passed from frontend. if set to auto, use value provided from the panel. also added tests for alignment period 2018-09-17 16:30:06 +02:00
73dc7bddd0 stackdriver: use alignment that is passed from frontend in the query 2018-09-17 14:34:18 +02:00
669a1029ed stackdriver: type rename 2018-09-14 17:46:42 +02:00
8b72853d36 stackdriver: add support for filtering to backend 2018-09-14 16:20:51 +02:00
add23d9716 stackdriver: load time series meta data for group by dropdown 2018-09-14 09:39:17 +02:00
5763d3cae2 stackdriver: make sure distinct labels are returned. also added test 2018-09-14 09:39:17 +02:00
9c8593e71f stackdriver: wip - group bys 2018-09-14 09:39:16 +02:00
df6b430405 stackdriver: reverse points array to be in ascending order 2018-09-14 09:38:16 +02:00
f4fe26c659 stackdriver: adds support for primary aggregations
WIP: Hardcoded values for the aligner and alignment period. Need
to set the aligment period to the closest min interval and
research the aligner more.
2018-09-14 09:38:16 +02:00
0b5783563e stackdriver: better error handling and show query metadata
If the Stackdriver returns an error, show that error in the query
editor. Also, allow the user to see the raw querystring that was sent
to google (for troubleshooting).
2018-09-14 09:38:16 +02:00
2683699ab4 stackdriver: tests for parsing api response 2018-09-14 09:38:16 +02:00
54f16d5558 stackdriver: add first test for parsing frontend queries 2018-09-14 09:38:16 +02:00
1288860058 Stackdriver: Break out parse response to its own func 2018-09-14 09:38:16 +02:00
56e8e50497 Stackdriver: Use ds_auth_provider in stackdriver. This will make sure the token is renewed when it has exporired 2018-09-14 09:38:16 +02:00
7f99a14c58 Stackdriver: Parsed url params 2018-09-14 09:38:16 +02:00
c8ec3a345c Stackdriver: Parse datapoints correctly 2018-09-14 09:38:16 +02:00
1fe70f8290 Stackdriver: Load example metric and start parsing response 2018-09-14 09:38:16 +02:00
9ee61b6606 Add stackdriver backend skeleton 2018-09-14 09:33:50 +02:00