Alerting: Add feature toggle for Alertmanager import config API (#106424)
This commit is contained in:
@@ -1024,4 +1024,9 @@ export interface FeatureToggles {
|
||||
* @default false
|
||||
*/
|
||||
alertEnrichment?: boolean;
|
||||
/**
|
||||
* Enables the API to import Alertmanager configuration
|
||||
* @default false
|
||||
*/
|
||||
alertingImportAlertmanagerAPI?: boolean;
|
||||
}
|
||||
|
||||
@@ -1763,6 +1763,15 @@ var (
|
||||
HideFromDocs: true,
|
||||
Expression: "false",
|
||||
},
|
||||
{
|
||||
Name: "alertingImportAlertmanagerAPI",
|
||||
Description: "Enables the API to import Alertmanager configuration",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaAlertingSquad,
|
||||
HideFromAdminPage: true,
|
||||
HideFromDocs: true,
|
||||
Expression: "false",
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -230,3 +230,4 @@ extensionsReadOnlyProxy,experimental,@grafana/plugins-platform-backend,false,fal
|
||||
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
|
||||
alertingImportAlertmanagerAPI,experimental,@grafana/alerting-squad,false,false,false
|
||||
|
||||
|
@@ -930,4 +930,8 @@ const (
|
||||
// FlagAlertEnrichment
|
||||
// Enable configuration of alert enrichments in Grafana Cloud.
|
||||
FlagAlertEnrichment = "alertEnrichment"
|
||||
|
||||
// FlagAlertingImportAlertmanagerAPI
|
||||
// Enables the API to import Alertmanager configuration
|
||||
FlagAlertingImportAlertmanagerAPI = "alertingImportAlertmanagerAPI"
|
||||
)
|
||||
|
||||
@@ -172,6 +172,21 @@
|
||||
"hideFromDocs": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "alertingImportAlertmanagerAPI",
|
||||
"resourceVersion": "1749365901136",
|
||||
"creationTimestamp": "2025-06-08T06:58:21Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Enables the API to import Alertmanager configuration",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/alerting-squad",
|
||||
"hideFromAdminPage": true,
|
||||
"hideFromDocs": true,
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "alertingImportYAMLUI",
|
||||
|
||||
Reference in New Issue
Block a user