From 3de80ec3d78c3f9c53c4e4dc615f28ceb93a5c97 Mon Sep 17 00:00:00 2001 From: Ezequiel Victorero Date: Wed, 28 May 2025 23:44:48 +0100 Subject: [PATCH] Feature Toggles: remove useRawTimeRange FF (#106154) --- .../configure-grafana/feature-toggles/index.md | 1 - packages/grafana-data/src/types/featureToggles.gen.ts | 5 ----- pkg/services/featuremgmt/registry.go | 7 ------- pkg/services/featuremgmt/toggles_gen.csv | 1 - pkg/services/featuremgmt/toggles_gen.go | 4 ---- pkg/services/featuremgmt/toggles_gen.json | 3 ++- 6 files changed, 2 insertions(+), 19 deletions(-) diff --git a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md index 93a541a3843..b346d74233e 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -74,7 +74,6 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general- | `pluginsSriChecks` | Enables SRI checks for plugin assets | | | `azureMonitorDisableLogLimit` | Disables the log limit restriction for Azure Monitor when true. The limit is enabled by default. | | | `preinstallAutoUpdate` | Enables automatic updates for pre-installed plugins | Yes | -| `reportingUseRawTimeRange` | Uses the original report or dashboard time range instead of making an absolute transformation | Yes | | `alertingUIOptimizeReducer` | Enables removing the reducer from the alerting UI when creating a new alert rule and using instant query | Yes | | `azureMonitorEnableUserAuth` | Enables user auth for Azure Monitor datasource only | Yes | | `alertingNotificationsStepMode` | Enables simplified step mode in the notifications section | Yes | diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index e8b1222e0f6..a3bb9a99e62 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -777,11 +777,6 @@ export interface FeatureToggles { */ jaegerBackendMigration?: boolean; /** - * Uses the original report or dashboard time range instead of making an absolute transformation - * @default true - */ - reportingUseRawTimeRange?: boolean; - /** * Enables removing the reducer from the alerting UI when creating a new alert rule and using instant query * @default true */ diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 7aa9f4d1fda..fcdabf7e920 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1329,13 +1329,6 @@ var ( Stage: FeatureStageExperimental, Owner: grafanaOSSBigTent, }, - { - Name: "reportingUseRawTimeRange", - Description: "Uses the original report or dashboard time range instead of making an absolute transformation", - Stage: FeatureStageGeneralAvailability, - Owner: grafanaSharingSquad, - Expression: "true", // enabled by default - }, { Name: "alertingUIOptimizeReducer", Description: "Enables removing the reducer from the alerting UI when creating a new alert rule and using instant query", diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 0b1c915d271..cc083bb88c5 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -174,7 +174,6 @@ enableExtensionsAdminPage,experimental,@grafana/plugins-platform-backend,false,t enableSCIM,experimental,@grafana/identity-access-team,false,false,false crashDetection,experimental,@grafana/observability-traces-and-profiling,false,false,true jaegerBackendMigration,experimental,@grafana/oss-big-tent,false,false,false -reportingUseRawTimeRange,GA,@grafana/sharing-squad,false,false,false alertingUIOptimizeReducer,GA,@grafana/alerting-squad,false,false,true azureMonitorEnableUserAuth,GA,@grafana/partner-datasources,false,false,false alertingNotificationsStepMode,GA,@grafana/alerting-squad,false,false,true diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index 10307d5c12c..33bbe0bc1a5 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -707,10 +707,6 @@ const ( // Enables querying the Jaeger data source without the proxy FlagJaegerBackendMigration = "jaegerBackendMigration" - // FlagReportingUseRawTimeRange - // Uses the original report or dashboard time range instead of making an absolute transformation - FlagReportingUseRawTimeRange = "reportingUseRawTimeRange" - // FlagAlertingUIOptimizeReducer // Enables removing the reducer from the alerting UI when creating a new alert rule and using instant query FlagAlertingUIOptimizeReducer = "alertingUIOptimizeReducer" diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index ca69e0927a5..d740737e093 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -2917,7 +2917,8 @@ "metadata": { "name": "reportingUseRawTimeRange", "resourceVersion": "1743693517832", - "creationTimestamp": "2024-11-14T20:08:03Z" + "creationTimestamp": "2024-11-14T20:08:03Z", + "deletionTimestamp": "2025-05-28T13:44:54Z" }, "spec": { "description": "Uses the original report or dashboard time range instead of making an absolute transformation",