Alerting: Add placeholder feature toggle for enrichment. (#106399)
This commit is contained in:
@@ -1019,4 +1019,9 @@ export interface FeatureToggles {
|
||||
* @default false
|
||||
*/
|
||||
skipTokenRotationIfRecent?: boolean;
|
||||
/**
|
||||
* Enable configuration of alert enrichments in Grafana Cloud.
|
||||
* @default false
|
||||
*/
|
||||
alertEnrichment?: boolean;
|
||||
}
|
||||
|
||||
@@ -1754,6 +1754,15 @@ var (
|
||||
HideFromDocs: true,
|
||||
Expression: "false",
|
||||
},
|
||||
{
|
||||
Name: "alertEnrichment",
|
||||
Description: "Enable configuration of alert enrichments in Grafana Cloud.",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaAlertingSquad,
|
||||
HideFromAdminPage: true,
|
||||
HideFromDocs: true,
|
||||
Expression: "false",
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -229,3 +229,4 @@ alertingBulkActionsInUI,GA,@grafana/alerting-squad,false,false,true
|
||||
extensionsReadOnlyProxy,experimental,@grafana/plugins-platform-backend,false,false,true
|
||||
restoreDashboards,experimental,@grafana/grafana-frontend-platform,false,false,false
|
||||
skipTokenRotationIfRecent,privatePreview,@grafana/identity-access-team,false,false,false
|
||||
alertEnrichment,experimental,@grafana/alerting-squad,false,false,false
|
||||
|
||||
|
@@ -926,4 +926,8 @@ const (
|
||||
// FlagSkipTokenRotationIfRecent
|
||||
// Skip token rotation if it was already rotated less than 5 seconds ago
|
||||
FlagSkipTokenRotationIfRecent = "skipTokenRotationIfRecent"
|
||||
|
||||
// FlagAlertEnrichment
|
||||
// Enable configuration of alert enrichments in Grafana Cloud.
|
||||
FlagAlertEnrichment = "alertEnrichment"
|
||||
)
|
||||
|
||||
@@ -60,6 +60,21 @@
|
||||
"frontend": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "alertEnrichment",
|
||||
"resourceVersion": "1749210731545",
|
||||
"creationTimestamp": "2025-06-06T11:52:11Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Enable configuration of alert enrichments in Grafana Cloud.",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/alerting-squad",
|
||||
"hideFromAdminPage": true,
|
||||
"hideFromDocs": true,
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "alertRuleRestore",
|
||||
|
||||
Reference in New Issue
Block a user