13 Commits

Author SHA1 Message Date
edf38f040d stackdriver: making sure we dont pass too big alignmentPeriods to the stackdriver api 2018-09-17 17:13:06 +02:00
f839d12de4 stackdriver: fix broken tests 2018-09-17 16:33:38 +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
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
d0a565d853 stackdriver: improve segments for group bys in query editor 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