grafana/pkg/tsdb
Andreas Christou ecaa1dcbfd
AzureMonitor: Migrate to backend checkHealth API (#50448)
* Add check health functions for each datasource and generic checkHealth function

* Log backend errors

* Update testDatasource function

- Remove unused testDatasource functions from pseudo datasources

* Switch datasource to extend DataSourceWithBackend

* Improve errors and responses from health endpoint

* Fix backend lint issues

* Remove unneeded frontend tests

* Remove unused/unnecessary datasource methods

* Update types

* Improve message construction

* Stubbing out checkHealth tests

* Update tests

- Remove comments
- Simplify structure

* Update log analytics health check to query data rather than retrieve workspace metadata

* Fix lint issue

* Fix frontend lint issues

* Update pkg/tsdb/azuremonitor/azuremonitor.go

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>

* Updates based on PR comments

- Don't use deprecated default workspace field
- Handle situation if no workspace is found by notifying user
- Correctly handle health responses

* Remove debug line

* Make use of defined api versions

* Remove field validation functions

* Expose errors in frontend

* Update errors and tests

* Remove instanceSettings

* Update error handling

* Improve error handling and presentation

* Update tests and correctly check error type

* Refactor AzureHealthCheckError and update tests

* Fix lint errors

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2022-06-20 11:33:13 +01:00
..
azuremonitor AzureMonitor: Migrate to backend checkHealth API (#50448) 2022-06-20 11:33:13 +01:00
cloudmonitoring CloudMonitor: Correctly encode default project response (#49510) 2022-05-25 14:05:12 +01:00
cloudwatch Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
elasticsearch elasticsearch: always use fixed_interval (#50297) 2022-06-13 10:28:29 +02:00
grafanads SearchV2: move search parameters to a nested object (#50561) 2022-06-10 11:06:41 -07:00
graphite chore: remove all remaining uses of golang.org/x/net/context (#47564) 2022-04-11 14:20:10 -04:00
influxdb Chore: Update grafana-plugin-sdk-go to v0.136.0 (#50127) 2022-06-03 08:25:52 -04:00
intervalv2 Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
legacydata Fixes term Grafana Alerting (#50404) 2022-06-08 13:35:37 +02:00
loki loki: fix bug in labels framing (#51015) 2022-06-17 12:50:10 +02:00
mssql mssql: explicit disable encryption when its disabled (#46546) 2022-03-30 15:14:04 +01:00
mysql Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
opentsdb Opentsdb: Add tag values into the opentsdb response (#48672) 2022-06-20 10:12:43 +08:00
postgres Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
prometheus Prometheus: Add test for resource call header handling (#51036) 2022-06-17 16:48:32 +02:00
sqleng Chore: Remove Wrap (#50048) 2022-06-03 09:24:24 +02:00
tempo Tempo / Trace Viewer: Support Span Links in Trace Viewer (#45632) 2022-02-25 11:14:13 -07:00
testdatasource Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00