c39dc1fb15
Some cleanup
2019-01-05 15:25:07 +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
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
cfb8017567
stackdriver: add alignment period to query controller
2018-09-17 17:16:14 +02:00
549b4fc0ae
stackdriver: adds advanced options collapse to query editor with the possibility to select secondary aggregation and alignment
2018-09-17 14:32:49 +02:00
f243da756b
stackdriver: fix init labels bug
2018-09-17 11:28:10 +02:00
0b41303e10
stackdriver: improve query editor to handle no data better
2018-09-14 19:28:48 +02:00
12da19695f
stackdriver: fixes in query editor
2018-09-14 17:47:39 +02:00
b30d3fb5a1
stackdriver: makes sure filter dropdown doesnt crash if clicked before values are loaded
2018-09-14 17:19:15 +02:00
dc6d025d9a
stackdriver: add filters to query editor
...
WIP -> Backend not implemented yet.
2018-09-14 15:44:12 +02:00
9b4a25ed21
stackdriver: fixes remove option in filter
2018-09-14 11:24:02 +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
add23d9716
stackdriver: load time series meta data for group by dropdown
2018-09-14 09:39:17 +02:00
9c8593e71f
stackdriver: wip - group bys
2018-09-14 09:39: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
95a6838f06
Stackdriver: Fix weird assignment
2018-09-14 09:38:16 +02:00
191b6cc32c
Stackdriver: Set target correctly
2018-09-14 09:38:16 +02:00
f09f5b28d7
Stackdriver: Move data to target
2018-09-14 09:38:16 +02:00
75c002645c
Stackdriver: Loads project name and metrics descriptions into the query controller
2018-09-14 09:35:27 +02:00
f0f19e0c03
Adds stackdriver frontend skeleton
2018-09-14 09:33:50 +02:00