Erik Sundell
109f00f584
stackdriver: adds default value for alignment period
2018-09-17 16:33:10 +02:00
Erik Sundell
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
Erik Sundell
73dc7bddd0
stackdriver: use alignment that is passed from frontend in the query
2018-09-17 14:34:18 +02:00
Daniel Lee
669a1029ed
stackdriver: type rename
2018-09-14 17:46:42 +02:00
Daniel Lee
8b72853d36
stackdriver: add support for filtering to backend
2018-09-14 16:20:51 +02:00
Erik Sundell
add23d9716
stackdriver: load time series meta data for group by dropdown
2018-09-14 09:39:17 +02:00
Erik Sundell
5763d3cae2
stackdriver: make sure distinct labels are returned. also added test
2018-09-14 09:39:17 +02:00
Daniel Lee
9c8593e71f
stackdriver: wip - group bys
2018-09-14 09:39:16 +02:00
Daniel Lee
df6b430405
stackdriver: reverse points array to be in ascending order
2018-09-14 09:38:16 +02:00
Daniel Lee
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
Daniel Lee
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
Daniel Lee
2683699ab4
stackdriver: tests for parsing api response
2018-09-14 09:38:16 +02:00
Daniel Lee
54f16d5558
stackdriver: add first test for parsing frontend queries
2018-09-14 09:38:16 +02:00
Erik Sundell
1288860058
Stackdriver: Break out parse response to its own func
2018-09-14 09:38:16 +02:00
Erik Sundell
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
Erik Sundell
7f99a14c58
Stackdriver: Parsed url params
2018-09-14 09:38:16 +02:00
Erik Sundell
c8ec3a345c
Stackdriver: Parse datapoints correctly
2018-09-14 09:38:16 +02:00
Erik Sundell
1fe70f8290
Stackdriver: Load example metric and start parsing response
2018-09-14 09:38:16 +02:00
Erik Sundell
9ee61b6606
Add stackdriver backend skeleton
2018-09-14 09:33:50 +02:00