Erik Sundell
412a1f6d99
stackdriver: wip - return metric descriptors in the format of tablew
2018-10-22 16:03:13 +02:00
Erik Sundell
b2932058c7
stackdriver: only add unit to resonse obj if it has a value
2018-10-19 10:42:57 +02:00
Erik Sundell
d1740f090a
stackdriver: make sure unit is not returned to the panel if mapping from stackdriver unit to grafana unit can't be made
2018-10-18 16:42:08 +02:00
Daniel Lee
6fce178ec7
stackdriver metric name fix. Fixes #13562
...
Sets metric name even when the metric does not have a displayName field. Closes #13562 .
2018-10-08 15:34:28 +02:00
Daniel Lee
cf0189ab1a
stackdriver: no tags for annotations (yet)
...
fixes glitch where an empty tag shows up
2018-09-28 19:17:34 +02:00
Erik Sundell
fc1e214987
stackdriver: add relevant error message for when a user tries to create a template variable
2018-09-28 16:36:43 +02:00
Daniel Lee
ea1859a374
stackdriver: extract out filter, metric type directive
2018-09-27 14:31:39 +02:00
Erik Sundell
92f50ca384
stackdriver: add unit tests to resolve unit function
2018-09-27 14:24:28 +02:00
Erik Sundell
251bb09aed
stackdriver: convert most common stackdriver units to grafana units if possible
2018-09-27 14:03:52 +02:00
Erik Sundell
b724ca5b93
stackdriver: pass interval from panel to backend
2018-09-27 10:42:28 +02:00
Erik Sundell
3f7314831f
stackdriver: wip: split metric dropdown into two parts - resource and metric
2018-09-25 16:51:12 +02:00
Daniel Lee
c9ee05422f
stackdriver: move getLabels from query_ctrl to datasource
...
so can reuse for annotation query ctrl.
2018-09-24 15:26:49 +02:00
Daniel Lee
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
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
Daniel Lee
e05b86375b
stackdriver: remove hardcoding of test project name
2018-09-18 16:02:38 +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
0b41303e10
stackdriver: improve query editor to handle no data better
2018-09-14 19:28:48 +02:00
Erik Sundell
fa6e31c6d5
stackdriver: adds null check to query
2018-09-14 17:01:27 +02:00
Daniel Lee
dc6d025d9a
stackdriver: add filters to query editor
...
WIP -> Backend not implemented yet.
2018-09-14 15:44:12 +02:00
Daniel Lee
d0a565d853
stackdriver: improve segments for group bys in 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
Daniel Lee
2683699ab4
stackdriver: tests for parsing api response
2018-09-14 09:38:16 +02:00
Erik Sundell
2d52e5d26c
Stackdriver: Use metric type from query controller state
2018-09-14 09:38:16 +02:00
Erik Sundell
97727d167b
Stackdriver: Add backed query using
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
Daniel Lee
e7648c4070
dsproxy: implements support for plugin routes with jwt file
...
Google Cloud service accounts use a JWT token to get an
oauth access token. This adds support for that.
2018-09-14 09:35:27 +02:00
Erik Sundell
5bee38ed69
Stackdriver: Refactored api call to google resource manager
2018-09-14 09:35:27 +02:00
Erik Sundell
aff1de9892
Adds skeleton for loading projects from google resource manager
2018-09-14 09:35:26 +02:00
Erik Sundell
6840968780
Adds unit tests to test datasource
2018-09-14 09:35:26 +02:00
Erik Sundell
f9b7524423
Implemented datasource test
2018-09-14 09:35:26 +02:00
Erik Sundell
f0f19e0c03
Adds stackdriver frontend skeleton
2018-09-14 09:33:50 +02:00