Erik Sundell
9715260151
align input widths
2019-01-02 13:03:19 +01:00
Erik Sundell
4d19ac5c02
use new option group in aggregation directive
2019-01-02 13:03:16 +01:00
Erik Sundell
406c0d15a5
remove redundant default value
2019-01-02 13:03:16 +01:00
Erik Sundell
fa32310f8a
stackdriver: add query keyword to service, metric and project since these were the only fields in the editor that was missing it in the whole editor
2018-11-19 16:37:42 +01:00
Erik Sundell
b9d5fa1b36
stackdriver: revert test code
2018-11-15 13:20:32 +01:00
Erik Sundell
e698202fae
stackdriver: use new naming convention for query editor all over
2018-11-13 10:57:10 +01:00
Erik Sundell
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
Torkel Ödegaard
3fa83d2755
ux: minor update to look of stackdriver query help
2018-10-08 23:29:29 +02:00
Daniel Lee
296fd35d47
stackdriver: add help section for annotations
2018-09-28 19:12:50 +02:00
Daniel Lee
399e83f91b
stackdriver: remove metric.category alias pattern
...
After discussions with the Stackdriver team, they did not think this was
needed.
2018-09-28 17:16:35 +02:00
Daniel Lee
03b43ab769
stackdriver: wip annotation support
2018-09-27 15:18:10 +02:00
Daniel Lee
ea1859a374
stackdriver: extract out filter, metric type directive
2018-09-27 14:31:39 +02:00
Erik Sundell
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
Erik Sundell
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
Erik Sundell
508601c28c
stackdriver: use correct naming convention
2018-09-26 11:23:46 +02:00
Erik Sundell
186dcc001c
Merge branch 'stackdriver-plugin' of https://github.com/grafana/grafana into stackdriver-plugin
2018-09-26 11:17:52 +02:00
Erik Sundell
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
Daniel Lee
0a77cd5569
stackdriver: adds on-change with debounce for alias by field
2018-09-26 00:33:18 +02:00
Erik Sundell
3f7314831f
stackdriver: wip: split metric dropdown into two parts - resource and metric
2018-09-25 16:51:12 +02:00
Erik Sundell
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
Erik Sundell
b700c6b0e4
stackdriver: populate alignment and aggregation dropdowns based on metric type and value type
2018-09-25 09:34:14 +02:00
Daniel Lee
636d8421d0
stackdriver: refactoring - extract out filtersegments component
2018-09-24 00:59:28 +02:00
Daniel Lee
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
Daniel Lee
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
Erik Sundell
7b8ea5fc54
stackdriver: improve query look
2018-09-17 17:34:01 +02:00
Erik Sundell
cfb8017567
stackdriver: add alignment period to query controller
2018-09-17 17:16:14 +02:00
Erik Sundell
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
Daniel Lee
b5800ffea9
stackdriver: wip - filters for query editor
2018-09-14 09:39:17 +02:00
Erik Sundell
add23d9716
stackdriver: load time series meta data for group by dropdown
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
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
Erik Sundell
f09f5b28d7
Stackdriver: Move data to target
2018-09-14 09:38:16 +02:00
Erik Sundell
75c002645c
Stackdriver: Loads project name and metrics descriptions into the query controller
2018-09-14 09:35:27 +02:00
Erik Sundell
f0f19e0c03
Adds stackdriver frontend skeleton
2018-09-14 09:33:50 +02:00