25 Commits

Author SHA1 Message Date
c3780d09d4 stackdriver: workaround for the fact the jest definitions does not include not 2018-09-26 17:56:45 +02:00
85fce84087 stackdriver: fix broken tests 2018-09-26 13:39:03 +02:00
186dcc001c Merge branch 'stackdriver-plugin' of https://github.com/grafana/grafana into stackdriver-plugin 2018-09-26 11:17:52 +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
0a77cd5569 stackdriver: adds on-change with debounce for alias by field 2018-09-26 00:33:18 +02:00
38e32a902e stackdriver: fix failing test 2018-09-25 16:51:39 +02:00
a41c5f7b37 stackdriver: remove console.log 2018-09-25 16:40:15 +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
1aba5f814b stackdriver: fix test after parameter added to constructor 2018-09-24 16:05:16 +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
e101bcdb13 stackdriver: fix bug when multiple projects connected to service account
We had incorrectly assumed that a service account could only be connected
to one project.
2018-09-24 10:17:06 +02:00
636d8421d0 stackdriver: refactoring - extract out filtersegments component 2018-09-24 00:59:28 +02:00
8211f7d0ea stackdriver: add templating support for metric, filter and group by
Still have to figure out if we should have templating for aggregation
fields
2018-09-20 11:44:17 +02:00
e05b86375b stackdriver: remove hardcoding of test project name 2018-09-18 16:02:38 +02:00
dc6d025d9a stackdriver: add filters to query editor
WIP -> Backend not implemented yet.
2018-09-14 15:44:12 +02:00
b5800ffea9 stackdriver: wip - filters for query editor 2018-09-14 09:39:17 +02:00
e2e95589e3 stackdriver: adds remove group by option
Adds a -- remove group by -- option to the group by
segment. When chosen it removes the group by.
2018-09-14 09:39:17 +02:00
d0a565d853 stackdriver: improve segments for group bys in query editor 2018-09-14 09:39:17 +02:00
37fe488b69 stackdriver: fix failing test 2018-09-14 09:39:17 +02:00
3f4942418e stackdriver: test get metric types 2018-09-14 09:39:17 +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
ba7a69dfc4 Stackdriver: Added test for getProjects 2018-09-14 09:35:27 +02:00
55824dc4d8 Removes comment 2018-09-14 09:35:26 +02:00
6840968780 Adds unit tests to test datasource 2018-09-14 09:35:26 +02:00