FeatureFlags: set defaults in the registry rather than the ini file (#58106)
This commit is contained in:
@@ -14,6 +14,13 @@ var (
|
||||
Description: "Use big transactions for alerting database writes",
|
||||
State: FeatureStateAlpha,
|
||||
},
|
||||
{
|
||||
Name: "promQueryBuilder",
|
||||
Description: "Show prometheus query builder",
|
||||
State: FeatureStateStable,
|
||||
Expression: "true", // on by default
|
||||
FrontendOnly: true,
|
||||
},
|
||||
{
|
||||
Name: "trimDefaults",
|
||||
Description: "Use cue schema to remove values that will be applied automatically",
|
||||
@@ -162,7 +169,8 @@ var (
|
||||
{
|
||||
Name: "explore2Dashboard",
|
||||
Description: "Experimental Explore to Dashboard workflow",
|
||||
State: FeatureStateBeta,
|
||||
State: FeatureStateStable,
|
||||
Expression: "true", // enabled by default
|
||||
FrontendOnly: true,
|
||||
},
|
||||
{
|
||||
@@ -178,9 +186,11 @@ var (
|
||||
FrontendOnly: true,
|
||||
},
|
||||
{
|
||||
Name: "commandPalette",
|
||||
Description: "Enable command palette",
|
||||
State: FeatureStateAlpha,
|
||||
Name: "commandPalette",
|
||||
Description: "Enable command palette",
|
||||
State: FeatureStateStable,
|
||||
Expression: "true", // enabled by default
|
||||
FrontendOnly: true,
|
||||
},
|
||||
{
|
||||
Name: "correlations",
|
||||
@@ -191,6 +201,7 @@ var (
|
||||
Name: "cloudWatchDynamicLabels",
|
||||
Description: "Use dynamic labels instead of alias patterns in CloudWatch datasource",
|
||||
State: FeatureStateStable,
|
||||
Expression: "true", // enabled by default
|
||||
},
|
||||
{
|
||||
Name: "datasourceQueryMultiStatus",
|
||||
|
||||
@@ -11,6 +11,10 @@ const (
|
||||
// Use big transactions for alerting database writes
|
||||
FlagAlertingBigTransactions = "alertingBigTransactions"
|
||||
|
||||
// FlagPromQueryBuilder
|
||||
// Show prometheus query builder
|
||||
FlagPromQueryBuilder = "promQueryBuilder"
|
||||
|
||||
// FlagTrimDefaults
|
||||
// Use cue schema to remove values that will be applied automatically
|
||||
FlagTrimDefaults = "trimDefaults"
|
||||
|
||||
Reference in New Issue
Block a user