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
Daniel Lee
54f16d5558
stackdriver: add first test for parsing frontend queries
2018-09-14 09:38:16 +02:00
Erik Sundell
95a6838f06
Stackdriver: Fix weird assignment
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
191b6cc32c
Stackdriver: Set target correctly
2018-09-14 09:38:16 +02:00
Erik Sundell
1288860058
Stackdriver: Break out parse response to its own func
2018-09-14 09:38:16 +02:00
Erik Sundell
56e8e50497
Stackdriver: Use ds_auth_provider in stackdriver. This will make sure the token is renewed when it has exporired
2018-09-14 09:38:16 +02:00
Erik Sundell
db170845b0
Stackdriver: Restructured ds proxy tests
2018-09-14 09:38:16 +02:00
Daniel Lee
05f6710454
stackdriver: fix test
2018-09-14 09:38:16 +02:00
Erik Sundell
1725940ab9
Stackdriver: Add new file
2018-09-14 09:38:16 +02:00
Erik Sundell
6a610558c4
Stackdriver: Start breaking out apply route to its own file
2018-09-14 09:38:16 +02:00
Erik Sundell
7f99a14c58
Stackdriver: Parsed url params
2018-09-14 09:38:16 +02:00
Erik Sundell
c8ec3a345c
Stackdriver: Parse datapoints correctly
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
73a42df046
Stackdriver: Prettify json
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
1fe70f8290
Stackdriver: Load example metric and start parsing response
2018-09-14 09:38:16 +02:00
Erik Sundell
31417b795c
Stackdriver: Exposing stackdriver backend api
2018-09-14 09:38:16 +02:00
Erik Sundell
23339e4322
Stackdriver: Use new access token API
2018-09-14 09:35:28 +02:00
Erik Sundell
71af62e741
Stackdriver: Temporary exporting token lookup
2018-09-14 09:35:28 +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
684aa3ff33
Stackdriver: Corrected field title and removed debug logging
2018-09-14 09:35:27 +02:00
Erik Sundell
92d631986f
Stackdriver: Removed debug logging
2018-09-14 09:35:27 +02:00
Erik Sundell
533891c03e
Stackdriver: Improved feedback for when a JWT is already uploaded in the ds config page
2018-09-14 09:35:27 +02:00
Daniel Lee
b1db6a7d1e
docs: first draft for stackdriver datasource
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
ba7a69dfc4
Stackdriver: Added test for getProjects
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
a4ef4792bc
Stackdriver: Add scope for google resource manager
2018-09-14 09:35:26 +02:00
Erik Sundell
f6c18cf788
Stackdriver: Fixed error message from google resource manager
2018-09-14 09:35:26 +02:00
Erik Sundell
55824dc4d8
Removes comment
2018-09-14 09:35:26 +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
350bcf4f56
Fixed broken if statement
2018-09-14 09:35:26 +02:00
Erik Sundell
7197a4c17f
Adds jwt token signing google auth
2018-09-14 09:35:26 +02:00
Erik Sundell
b71e7f33c3
Improved user experience
2018-09-14 09:35:26 +02:00
Erik Sundell
4fa4c27537
Upload: Fixing link function in directive
2018-09-14 09:35:26 +02:00
Erik Sundell
ef3beb1f0e
Adds poc code for retrieving google auth accesstoken
2018-09-14 09:33:50 +02:00
Erik Sundell
834d06c35b
Build new stackdriver frontend script
2018-09-14 09:33:50 +02:00
Erik Sundell
9ee61b6606
Add stackdriver backend skeleton
2018-09-14 09:33:50 +02:00
Erik Sundell
f0f19e0c03
Adds stackdriver frontend skeleton
2018-09-14 09:33:50 +02:00
Torkel Ödegaard
0e9a6dcedc
Use datasource cache for backend tsdb/query endpoint ( #13266 )
...
fix: use datasource cache for backend datasources
2018-09-14 09:30:32 +02:00
Torkel Ödegaard
06855d2bc3
Merge pull request #13253 from grafana/13240_auth_stats
...
Fix anonymous usage stats for authentication types
2018-09-13 21:17:16 +02:00
Torkel Ödegaard
4b0eeab2b3
Merge pull request #13259 from bergquist/disable_metrics_endpoint
...
[metrics]enabled = false should disable the /metrics endpoint.
2018-09-13 21:14:28 +02:00
Carl Bergquist
ec5aa332ac
removes old unused examples ( #13260 )
...
Just wanted to reduce the amount of files/folders in root
2018-09-13 21:09:21 +02:00
Torkel Ödegaard
fbfcc62269
fix: added loading screen error scenario ( #13256 )
2018-09-13 21:08:41 +02:00
David Kaltschmidt
379227c75d
Updated CHANGELOG.md
2018-09-13 17:52:28 +02:00