grafana/public/app/plugins/datasource/grafana-azure-monitor-datasource
Torkel Ödegaard 2191fe1285
DataSourceWithBackend: Switch to new Observable fetch api (#26043)
* BackendSrv: Observable all the way POC

* starting to unify code paths

* tests pass

* Unified error handling

* Single request path and error handling

* Fixed ts issue

* another ts issu

* Added back old requestId cancellation

* Slow progress trying to grasp the full picture of cancellation

* Updates

* refactoring

* Remove a bunch of stuff from backendSrv

* Removed another function

* Do not show error alerts for data queries

* Muu

* Updated comment

* DataSourceWithBackend: Switch to new Observable fetch api

* fixed ts issue

* unify request options type

* Made query inspector subscribe to backendSrv stream instead of legacy app events

* Add back support for err.isHandled to limit scope

* never show success alerts

* Updated tests

* use ovservable in test

* remove processResponse

* remove processResponse

* trying to get tests to pass :(

* no need for the extra tests

* Fixed processsing

* Fixed tests

* Updated tests to mock fetch call

* lint fixes

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-07-09 07:32:39 +02:00
..
__mocks__ noImplicitAny: 1670 errors (#18035) 2019-07-11 17:05:45 +02:00
app_insights DataSourceWithBackend: Switch to new Observable fetch api (#26043) 2020-07-09 07:32:39 +02:00
azure_log_analytics DataSourceWithBackend: Switch to new Observable fetch api (#26043) 2020-07-09 07:32:39 +02:00
azure_monitor Chore: Fix typescript strict null fixes now at 298 (#26125) 2020-07-08 11:05:20 +02:00
components Chore: Fix typescript strict null fixes now at 298 (#26125) 2020-07-08 11:05:20 +02:00
css AzureMonitor: adds support for multiple subscriptions per datasource (#16922) 2019-05-07 15:45:15 +02:00
editor Chore: Fix typescript strict null fixes now at 298 (#26125) 2020-07-08 11:05:20 +02:00
img azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
insights_analytics Azure: Split insights into two services (#25410) 2020-06-25 12:48:18 -04:00
log_analytics Refactor: move some files to @grafana/data (#17952) 2019-07-06 08:05:53 +02:00
partials Azure: query builder cleanup (#25956) 2020-06-30 22:55:04 -07:00
annotations_query_ctrl.ts TemplateSrv: deprecates templateSrv.variables and adds getVariables (#23026) 2020-03-24 16:03:53 +01:00
datasource.ts Chore: Fix typescript strict null fixes now at 298 (#26125) 2020-07-08 11:05:20 +02:00
module.tsx Azure Monitor: Datasource Config Type (#20183) 2019-11-06 09:29:07 -05:00
plugin.json azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
query_ctrl.test.ts Azure: Application Insights metrics to Frame and support multiple query dimensions (#25849) 2020-06-29 15:06:58 -04:00
query_ctrl.ts Azure: query builder cleanup (#25956) 2020-06-30 22:55:04 -07:00
query_help.md azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
time_grain_converter.test.ts azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
time_grain_converter.ts noImplicitAny: Azure Monitor (#17966) 2019-07-06 07:01:22 +02:00
types.ts Azure: Multiple dimension support for Azure Monitor Service (#25947) 2020-06-30 16:26:46 -04:00