Azure Monitor: Add feature gating for new MetricsQueryEditor with resource picker (#46124)

* Azure Monitor: Use feature toggle for dev of new UI for Metrics Queries.

* Fixes after CR
This commit is contained in:
Sarah Zinger
2022-03-14 15:07:45 -04:00
committed by GitHub
parent 41f3d56c3f
commit 275f33cf37
6 changed files with 50 additions and 0 deletions

View File

@@ -162,5 +162,12 @@ var (
Description: "Lock database during migrations",
State: FeatureStateBeta,
},
{
Name: "azureMonitorResourcePickerForMetrics",
Description: "New UI for Azure Monitor Metrics Query",
State: FeatureStateAlpha,
RequiresDevMode: true,
FrontendOnly: true,
},
}
)

View File

@@ -122,4 +122,8 @@ const (
// FlagMigrationLocking
// Lock database during migrations
FlagMigrationLocking = "migrationLocking"
// FlagAzureMonitorResourcePickerForMetrics
// New UI for Azure Monitor Metrics Query
FlagAzureMonitorResourcePickerForMetrics = "azureMonitorResourcePickerForMetrics"
)