CloudWatch: Add dynamic labels feature toggle (#48498)

This commit is contained in:
Shirley 2022-04-29 11:43:04 +02:00 committed by GitHub
parent c207ea30eb
commit 7bb4f5cd9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 0 deletions

View File

@ -1146,6 +1146,9 @@ explore2Dashboard = true
# Experimental Command Palette
commandPalette = true
# Use dynamic labels in CloudWatch datasource
cloudWatchDynamicLabels = false
# feature1 = true
# feature2 = false

View File

@ -58,4 +58,5 @@ export interface FeatureToggles {
persistNotifications?: boolean;
commandPalette?: boolean;
savedItems?: boolean;
cloudWatchDynamicLabels?: boolean;
}

View File

@ -237,5 +237,10 @@ var (
Description: "Enable Saved Items in the navbar.",
State: FeatureStateAlpha,
},
{
Name: "cloudWatchDynamicLabels",
Description: "Use dynamic labels instead of alias patterns in CloudWatch datasource",
State: FeatureStateStable,
},
}
)

View File

@ -174,4 +174,8 @@ const (
// FlagSavedItems
// Enable Saved Items in the navbar.
FlagSavedItems = "savedItems"
// FlagCloudWatchDynamicLabels
// Use dynamic labels instead of alias patterns in CloudWatch datasource
FlagCloudWatchDynamicLabels = "cloudWatchDynamicLabels"
)