Feature toggle: Remove addFieldFromCalculationStatFunctions feature toggle (#113757)

* Remove addFieldFromCalculationStatFunctions feature toggle

The addFieldFromCalculationStatFunctions feature toggle was at GA stage
and enabled by default. This commit removes the toggle and makes the
cumulative and window functions permanently available in the add field
from calculation transformation.

Changes:
- Removed feature toggle definition from registry.go
- Updated CalculateFieldTransformerEditor to always include cumulative and window functions
- Removed unused config import
- Removed documentation entry
- Regenerated all generated files (toggles_gen.go, toggles_gen.csv, toggles_gen.json, featureToggles.gen.ts)

* fix merge conflicts
This commit is contained in:
Ihor Yeromin
2025-11-17 16:58:43 +01:00
committed by GitHub
parent ddb4690633
commit b6d34acc44
7 changed files with 61 additions and 84 deletions
-8
View File
@@ -545,14 +545,6 @@ var (
Owner: grafanaOperatorExperienceSquad,
FrontendOnly: false,
},
{
Name: "addFieldFromCalculationStatFunctions",
Description: "Add cumulative and window functions to the add field from calculation transformation",
Stage: FeatureStageGeneralAvailability,
FrontendOnly: true,
Owner: grafanaDataProSquad,
Expression: "true", // enabled by default
},
{
Name: "alertmanagerRemoteSecondary",
Description: "Enable Grafana to sync configuration and state with a remote Alertmanager.",
-1
View File
@@ -72,7 +72,6 @@ queryServiceFromUI,experimental,@grafana/grafana-datasources-core-services,false
queryServiceFromExplore,experimental,@grafana/grafana-datasources-core-services,false,false,true
cloudWatchBatchQueries,preview,@grafana/aws-datasources,false,false,false
cachingOptimizeSerializationMemoryUsage,experimental,@grafana/grafana-operator-experience-squad,false,false,false
addFieldFromCalculationStatFunctions,GA,@grafana/datapro,false,false,true
alertmanagerRemoteSecondary,experimental,@grafana/alerting-squad,false,false,false
alertingProvenanceLockWrites,experimental,@grafana/alerting-squad,false,false,false
alertingUIUseBackendFilters,experimental,@grafana/alerting-squad,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
72 queryServiceFromExplore experimental @grafana/grafana-datasources-core-services false false true
73 cloudWatchBatchQueries preview @grafana/aws-datasources false false false
74 cachingOptimizeSerializationMemoryUsage experimental @grafana/grafana-operator-experience-squad false false false
addFieldFromCalculationStatFunctions GA @grafana/datapro false false true
75 alertmanagerRemoteSecondary experimental @grafana/alerting-squad false false false
76 alertingProvenanceLockWrites experimental @grafana/alerting-squad false false false
77 alertingUIUseBackendFilters experimental @grafana/alerting-squad false false false
-4
View File
@@ -299,10 +299,6 @@ const (
// If enabled, the caching backend gradually serializes query responses for the cache, comparing against the configured `[caching]max_value_mb` value as it goes. This can can help prevent Grafana from running out of memory while attempting to cache very large query responses.
FlagCachingOptimizeSerializationMemoryUsage = "cachingOptimizeSerializationMemoryUsage"
// FlagAddFieldFromCalculationStatFunctions
// Add cumulative and window functions to the add field from calculation transformation
FlagAddFieldFromCalculationStatFunctions = "addFieldFromCalculationStatFunctions"
// FlagAlertmanagerRemoteSecondary
// Enable Grafana to sync configuration and state with a remote Alertmanager.
FlagAlertmanagerRemoteSecondary = "alertmanagerRemoteSecondary"
+1
View File
@@ -8,6 +8,7 @@
"name": "addFieldFromCalculationStatFunctions",
"resourceVersion": "1762442825881",
"creationTimestamp": "2023-11-03T14:39:58Z",
"deletionTimestamp": "2025-11-12T14:07:50Z",
"annotations": {
"grafana.app/updatedTimestamp": "2025-11-06 15:27:05.88172 +0000 UTC"
}