grafana/public
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
..
app AzureMonitor: Migrate to backend checkHealth API (#50448) 2022-06-20 11:33:13 +01:00
dashboards Dashboard: Remove super old prop that has not been used in years (#50826) 2022-06-17 14:55:35 +02:00
emails Alerting: Fix image embed in email template. (#50370) 2022-06-09 10:01:58 +08:00
fonts chore: remove executable permissions of source files and docs (#46303) 2022-05-03 12:08:14 +02:00
gazetteer Geomap: Add GeoJSON gazetteer (#40589) 2021-10-19 21:05:55 -07:00
img Service accounts: Use new icon (#50140) 2022-06-03 11:23:19 +03:00
lib AzureMonitor: Kusto language support (#33528) 2021-05-11 16:48:59 +02:00
locales Alerting: Add legacy indicator to navbar (#49511) 2022-05-25 15:30:37 +02:00
maps Geomap: include sample geojson files (#39057) 2021-09-10 09:05:03 -07:00
sass Revert "Explore: Convert SASS styles of explore-active-button to emotion (#50061)" (#50882) 2022-06-16 14:39:54 +02:00
test Chore: Enable useUnknownInCatchVariables for stricter type checking in catch blocks (#50591) 2022-06-15 08:59:29 +01:00
testdata MarketTrend: add new alpha panel (#40909) 2021-11-05 18:01:26 -07:00
vendor Security: Fixes javascript security warnings in old vendored libs (#50382) 2022-06-08 13:55:08 +02:00
views Build: Enable long term caching for frontend assets (#47625) 2022-05-26 11:49:18 +02:00
api-merged.json API: Make Swagger specification more consistent (#50576) 2022-06-14 12:35:22 +02:00
api-spec.json API: Make Swagger specification more consistent (#50576) 2022-06-14 12:35:22 +02:00
robots.txt