AzureMonitor: Azure settings in Grafana server config (#33728)

* Azure cloud settings

* Fix typos

* Grouped Azure settings

* Doc fixes

* Some settings are not needed

* Updated cloud name aliases
This commit is contained in:
Sergey Kostrukov
2021-05-12 07:23:37 -07:00
committed by GitHub
parent 6ac43130f2
commit 81ad9769fa
7 changed files with 135 additions and 0 deletions
+4
View File
@@ -284,6 +284,9 @@ type Cfg struct {
AWSAssumeRoleEnabled bool
AWSListMetricsPageLimit int
// Azure Cloud settings
Azure AzureSettings
// Auth proxy settings
AuthProxyEnabled bool
AuthProxyHeaderName string
@@ -900,6 +903,7 @@ func (cfg *Cfg) Load(args *CommandLineArgs) error {
cfg.readLDAPConfig()
cfg.handleAWSConfig()
cfg.readAzureSettings()
cfg.readSessionConfig()
cfg.readSmtpSettings()
cfg.readQuotaSettings()