AzureMonitor: Add custom header support to Azure Monitor (#60269)

* Add integration test for Azure Monitor

- Add Azure Monitor to datasource types
- Update instance creation to correctly set HTTP client options
- Combine custom azure headers and custom grafana headers on HTTP client creation
- Update HTTP client tests

* Test custom azure headers
This commit is contained in:
Andreas Christou
2022-12-14 15:09:11 +00:00
committed by GitHub
parent e3805e1309
commit c81df0dec0
5 changed files with 164 additions and 11 deletions
+1
View File
@@ -27,6 +27,7 @@ const (
DS_ACCESS_PROXY = "proxy"
DS_ES_OPEN_DISTRO = "grafana-es-open-distro-datasource"
DS_ES_OPENSEARCH = "grafana-opensearch-datasource"
DS_AZURE_MONITOR = "grafana-azure-monitor-datasource"
)
type DsAccess string