grafana/public/app/plugins/datasource/grafana-azure-monitor-datasource
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
..
__mocks__ Azure Monitor: Include datasource ref when interpolating variables (#49543) 2022-05-31 09:27:25 -07:00
azure_log_analytics AzureMonitor: Migrate to backend checkHealth API (#50448) 2022-06-20 11:33:13 +01:00
azure_monitor AzureMonitor: Migrate to backend checkHealth API (#50448) 2022-06-20 11:33:13 +01:00
azure_resource_graph AzureMonitor: Ensure original query properties are included unchanged (#49642) 2022-05-26 14:53:12 +01:00
azureMetadata AzureMonitor: Update supported namespaces (#50788) and filter resources by the right type (#50880) 2022-06-17 10:15:20 +02:00
components AzureMonitor: Update supported namespaces (#50788) and filter resources by the right type (#50880) 2022-06-17 10:15:20 +02:00
css AzureMonitor: adds support for multiple subscriptions per datasource (#16922) 2019-05-07 15:45:15 +02:00
dashboards AzureMonitor: Update alerts dashboard (#50712) 2022-06-16 10:14:35 +02:00
img azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
log_analytics Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
resourcePicker AzureMonitor: Update supported namespaces (#50788) and filter resources by the right type (#50880) 2022-06-17 10:15:20 +02:00
types AzureMonitor: Fix auto-selection of time-grain for metrics. (#49278) 2022-05-20 15:45:54 +01:00
utils AzureMonitor: Do not quote variables when a custom All variable option is used (#49428) 2022-05-24 11:29:24 +02:00
credentials.ts AzureMonitor: Remove deprecated configuration parameters (#45860) 2022-03-02 15:42:30 +01:00
datasource.test.ts Azure Monitor: Include datasource ref when interpolating variables (#49543) 2022-05-31 09:27:25 -07:00
datasource.ts AzureMonitor: Migrate to backend checkHealth API (#50448) 2022-06-20 11:33:13 +01:00
grafanaTemplateVariableFns.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
grafanaTemplateVariables.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
module.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
plugin.json AzureMonitor: Update alerts dashboard (#50712) 2022-06-16 10:14:35 +02:00
query_help.md azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
README.md docs: update cloud data sources README links (#37820) 2021-08-24 10:11:07 +02:00
time_grain_converter.test.ts azuremonitor: move files into grafana 2019-01-17 10:55:03 +01:00
time_grain_converter.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
variables.test.ts AzureMonitor: Remove deprecated code (#48328) 2022-04-28 10:27:39 +02:00
variables.ts AzureMonitor: Remove deprecated code (#48328) 2022-04-28 10:27:39 +02:00

Azure Monitor data source - native plugin

Grafana ships with built in support for Azure Monitor. You just have to add it as a data source and you will be ready to build dashboards for your Azure Monitor metrics.

Read more about it here:

https://grafana.com/docs/grafana/latest/datasources/azuremonitor/