Alerting: Add placeholder feature toggle for enrichment. (#106399)

This commit is contained in:
Steve Simpson
2025-06-06 14:16:07 +02:00
committed by GitHub
parent 32336d5249
commit f81031f945
5 changed files with 34 additions and 0 deletions
@@ -1019,4 +1019,9 @@ export interface FeatureToggles {
* @default false
*/
skipTokenRotationIfRecent?: boolean;
/**
* Enable configuration of alert enrichments in Grafana Cloud.
* @default false
*/
alertEnrichment?: boolean;
}
+9
View File
@@ -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",
},
}
)
+1
View File
@@ -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
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
229 extensionsReadOnlyProxy experimental @grafana/plugins-platform-backend false false true
230 restoreDashboards experimental @grafana/grafana-frontend-platform false false false
231 skipTokenRotationIfRecent privatePreview @grafana/identity-access-team false false false
232 alertEnrichment experimental @grafana/alerting-squad false false false
+4
View File
@@ -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"
)
+15
View File
@@ -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",