grafana/pkg/tsdb/azuremonitor
Daniel Lee c05049f395
azuremonitor: port azure log analytics query function to the backend (#23839)
* azuremonitor: add support for log analytics macros

Also adds tests for the kql macros

* azuremonitor: backend implementation for Log Analytics

* azuremonitor: remove gzip header from plugin route

The Go net/http library adds an accept encoding header
for gzip automatically.

https://golang.org/src/net/http/transport.go\#L2454

So no need to specify it manually

* azuremonitor: parses log analytics time series

* azuremonitor: support for table data for Log Analytics

* azuremonitor: for log analytics switch to calling the API...

...from the backend for time series and table queries.

* azuremonitor: fix missing err check

* azuremonitor: support Azure China, Azure Gov...

for log analytics on the backend.

* azuremonitor: review fixes

* azuremonitor: rename test files folder to testdata

To follow Go conventions for test data in tests

* azuremonitor: review fixes

* azuremonitor: better error message for http requests

* azuremonitor: fix for load workspaces on config page

* azuremonitor: strict null check fixes

Co-authored-by: bergquist <carl.bergquist@gmail.com>
2020-04-27 17:43:02 +02:00
..
testdata azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
applicationinsights-datasource_test.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
applicationinsights-datasource.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
azure-log-analytics-datasource_test.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
azure-log-analytics-datasource.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
azuremonitor-datasource_test.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
azuremonitor-datasource.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
azuremonitor-time.go AzureMonitor: Alerting for Azure Application Insights (#19381) 2019-10-07 14:18:14 +02:00
azuremonitor.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
macros_test.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
macros.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
time-grain_test.go azuremonitor: fix auto interval calculation on backend 2019-02-11 13:27:08 +01:00
time-grain.go azuremonitor: don't use make for maps and array 2019-02-11 14:42:12 +01:00
types.go azuremonitor: port azure log analytics query function to the backend (#23839) 2020-04-27 17:43:02 +02:00
url-builder_test.go Azuremonitor: multiple subscription support for alerting (#17195) 2019-05-21 12:28:30 +02:00
url-builder.go Azuremonitor: multiple subscription support for alerting (#17195) 2019-05-21 12:28:30 +02:00