diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index d199ef16392..d33a2277c20 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -1024,4 +1024,9 @@ export interface FeatureToggles { * @default false */ alertEnrichment?: boolean; + /** + * Enables the API to import Alertmanager configuration + * @default false + */ + alertingImportAlertmanagerAPI?: boolean; } diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index fdb1fd3eb07..1fd0e86b835 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -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", + }, } ) diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 21a1d30a435..da0fd2a226c 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -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 diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index e3e80b1776d..210d4c99888 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -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" ) diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index f772eba5892..aeee92b6b67 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -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",