mirror of
https://github.com/grafana/grafana.git
synced 2024-12-29 10:21:41 -06:00
CloudWatch: Add dynamic labels feature toggle (#48498)
This commit is contained in:
parent
c207ea30eb
commit
7bb4f5cd9b
@ -1146,6 +1146,9 @@ explore2Dashboard = true
|
||||
# Experimental Command Palette
|
||||
commandPalette = true
|
||||
|
||||
# Use dynamic labels in CloudWatch datasource
|
||||
cloudWatchDynamicLabels = false
|
||||
|
||||
# feature1 = true
|
||||
# feature2 = false
|
||||
|
||||
|
@ -58,4 +58,5 @@ export interface FeatureToggles {
|
||||
persistNotifications?: boolean;
|
||||
commandPalette?: boolean;
|
||||
savedItems?: boolean;
|
||||
cloudWatchDynamicLabels?: boolean;
|
||||
}
|
||||
|
@ -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,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
@ -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"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user