grafana/pkg/tsdb
Erik Sundell 934a8f08ae
Stackdriver: Project selector (#22447)
* clean PR #17366

* udpate vendor

* [WIP] Implement projects management for stackdriver

* [WIP] Implement projects management for stackdriver

* [WIP] Implement projects management for stackdriver

* Implement projects management for stackdriver

* [WIP][Tests] Fix errors

* clean anonymous struct

* remove await

* don't store project list

* Add default project on query editor

* gofmt

* Fix tests

* Move test data source to backend

* Use segment instead of dropdown. remove ensure default project since it's not being used anymore.

* Fix broken annotation editor

* Load gceDefaultAccount only once when in the config page

* Reset error message on auth type change

* Add metric find query for projects

* Remove debug code

* Fix broken tests

* Fix typings

* Fix lint error

* Slightly different approach - now having a distiction between config page default project, and project that is selectable from the dropdown in the query editor.

* Fix broken tests

* Attempt to fix strict ts errors

* Prevent state from being set multiple times

* Remove noOptionsMessage since it seems to be obosolete in react select

* One more attempt to solve ts strict error

* Interpolate project template variable. Make sure its loaded correctly when opening variable query editor first time

* Implicit any fix

* fix: typescript strict null check fixes

* Return empty array in case project endpoint fails

* Rename project to projectName to prevent clashing with legacy query prop

* Fix broken test

* fix: Stackdriver - template replace on filter label

should have a regex format as that escapes the dots
in the label name which is not valid.

Co-authored-by: Labesse Kévin <kevin@labesse.me>
Co-authored-by: Elias Cédric Laouiti <elias@abtasty.com>
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
2020-03-02 09:31:09 -05:00
..
azuremonitor pkg/tsdb: Check errors (#19837) 2019-10-22 16:16:53 +02:00
cloudwatch add CloudWatch Usage Metrics (#22179) 2020-02-16 18:07:28 +01:00
elasticsearch pkg/tsdb: Check errors (#19837) 2019-10-22 16:16:53 +02:00
graphite pkg/tsdb: Check errors (#19837) 2019-10-22 16:16:53 +02:00
influxdb pkg/tsdb: Check errors (#19837) 2019-10-22 16:16:53 +02:00
mssql pkg/tsdb: Check errors (#19837) 2019-10-22 16:16:53 +02:00
mysql MySql: Fix password regression in MySQL datasource (#20376) 2019-11-14 12:16:38 +02:00
opentsdb move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
postgres pkg/tsdb: Check errors (#19837) 2019-10-22 16:16:53 +02:00
prometheus Plugins: Use grafana-plugin-sdk-go v0.5.0 (#21116) 2020-01-08 11:43:28 -05:00
sqleng Postgres/MySQL/MSSQL: Adds support for region annotations (#20752) 2019-12-13 17:25:36 +01:00
stackdriver Stackdriver: Project selector (#22447) 2020-03-02 09:31:09 -05:00
testdatasource TestData: allow negative values for random_walk parameters (#21627) 2020-01-20 10:50:42 -08:00
fake_test.go follow go idiom and return error as second param 2017-09-21 18:04:16 +02:00
frame_util.go transform: update to use sdk with frame.labels moved to frame.[]field.labels (#20670) 2019-11-26 13:28:16 -05:00
interval_test.go pkg/tsdb: Check errors (#19837) 2019-10-22 16:16:53 +02:00
interval.go interval: make the FormatDuration function public 2019-02-11 11:25:51 +01:00
models.go WIP: Spawn backend plugins v2 (#19835) 2019-10-24 17:15:27 +02:00
query_endpoint.go follow go idiom and return error as second param 2017-09-21 18:04:16 +02:00
request.go follow go idiom and return error as second param 2017-09-21 18:04:16 +02:00
time_range_test.go build: fix integer overflow in pkg/tsdb tests on 32bit platforms (#16818) 2019-05-06 09:27:45 +02:00
time_range.go Outdent code after if block that ends with return (golint) 2018-04-27 23:10:43 +02:00
tsdb_test.go follow go idiom and return error as second param 2017-09-21 18:04:16 +02:00