grafana/public/app/plugins/datasource/grafana-azure-monitor-datasource
Daniel Lee 7e95ded164
AzureMonitor: remove duplicate query logic on the frontend (#17198)
* feat: AzureMonitor implements legend key on backend

To be able to remove the duplicated query logic on the
frontend, the backend code needs to implement alias
patterns for legend keys as well as allowing the default
list of allowed time grains to be overridden. Some metrics
do not support all the time grains and the auto timegrain
calculation can be incorrect if the list is not overridden.

* feat: AzureMonitor - removes duplicate query logic on frontend

* AzureMonitor small refactoring

Extracted method and tidied up the auto time grain
code.

* azuremonitor: support for auto time grains for alerting

Converts allowed timegrains into ms and saves in dashboard json.
This makes queries for alerting with an auto time grain work in
the same way as the frontend.

* chore: typings -> implicitAny count down to 3413

* azuremonitor: add more typings
2019-07-04 22:47:24 +02:00
..
__mocks__ azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
app_insights Chore: Replaces moment with Grafanas DateTime (#16919) 2019-05-08 13:51:44 +02:00
azure_log_analytics Chore: Replaces moment with Grafanas DateTime (#16919) 2019-05-08 13:51:44 +02:00
azure_monitor AzureMonitor: remove duplicate query logic on the frontend (#17198) 2019-07-04 22:47:24 +02:00
css AzureMonitor: adds support for multiple subscriptions per datasource (#16922) 2019-05-07 15:45:15 +02:00
editor noImplicitAny: slate (#17681) 2019-06-20 20:41:01 +02:00
img azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
log_analytics 16365 change clashing variable names (#17140) 2019-05-28 15:04:42 +02:00
partials 16365 change clashing variable names (#17140) 2019-05-28 15:04:42 +02:00
annotations_query_ctrl.ts AzureMonitor: adds support for multiple subscriptions per datasource (#16922) 2019-05-07 15:45:15 +02:00
config_ctrl.ts AzureMonitor: adds support for multiple subscriptions per datasource (#16922) 2019-05-07 15:45:15 +02:00
datasource.ts DataSourceApi: convert interface to abstract class (#16979) 2019-05-10 11:37:43 +02:00
module.ts azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
plugin.json AddDataSource: Updated page design & categories (#16971) 2019-05-09 11:45:39 +02:00
query_ctrl.test.ts Typescript: Reduce implicit any errors (#17550) 2019-06-13 20:04:15 +02:00
query_ctrl.ts AzureMonitor: remove duplicate query logic on the frontend (#17198) 2019-07-04 22:47:24 +02: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 azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
types.ts AzureMonitor: remove duplicate query logic on the frontend (#17198) 2019-07-04 22:47:24 +02:00