From 3a966fc6caeb9f9b4895330de9ccda38b8f19c7b Mon Sep 17 00:00:00 2001 From: Yuri Tseretyan Date: Fri, 5 Jan 2024 12:59:41 -0500 Subject: [PATCH] Alerting: Enable recovery threshold feature by default (#80088) --- .../setup-grafana/configure-grafana/feature-toggles/index.md | 2 +- pkg/services/featuremgmt/registry.go | 3 ++- pkg/services/featuremgmt/toggles_gen.csv | 2 +- 3 files changed, 4 insertions(+), 3 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 da0440e45df..0c3536ab72b 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -54,6 +54,7 @@ Some features are enabled by default. You can disable these feature by setting t | `influxdbSqlSupport` | Enable InfluxDB SQL query language support with new querying UI | Yes | | `alertingInsights` | Show the new alerting insights landing page | Yes | | `cloudWatchWildCardDimensionValues` | Fetches dimension values from CloudWatch to correctly label wildcard dimensions | Yes | +| `recoveryThreshold` | Enables feature recovery threshold (aka hysteresis) for threshold server-side expression | Yes | | `displayAnonymousStats` | Enables anonymous stats to be shown in the UI for Grafana | Yes | | `lokiQueryHints` | Enables query hints for Loki | Yes | @@ -145,7 +146,6 @@ Experimental features might be changed or removed without prior notice. | `enableNativeHTTPHistogram` | Enables native HTTP Histograms | | `kubernetesPlaylists` | Use the kubernetes API in the frontend for playlists, and route /api/playlist requests to k8s | | `kubernetesSnapshots` | Use the kubernetes API in the frontend to support playlists | -| `recoveryThreshold` | Enables feature recovery threshold (aka hysteresis) for threshold server-side expression | | `lokiStructuredMetadata` | Enables the loki data source to request structured metadata from the Loki server | | `teamHttpHeaders` | Enables datasources to apply team headers to the client requests | | `awsDatasourcesNewFormStyling` | Applies new form styling for configuration and query editors in AWS plugins | diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 94caf15392d..e498635d853 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1013,11 +1013,12 @@ var ( { Name: "recoveryThreshold", Description: "Enables feature recovery threshold (aka hysteresis) for threshold server-side expression", - Stage: FeatureStageExperimental, + Stage: FeatureStageGeneralAvailability, FrontendOnly: false, Owner: grafanaAlertingSquad, RequiresRestart: true, Created: time.Date(2023, time.October, 10, 12, 0, 0, 0, time.UTC), + Expression: "true", }, { Name: "lokiStructuredMetadata", diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 4881d4da8c0..0c83d864d08 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -118,7 +118,7 @@ transformationsVariableSupport,preview,@grafana/grafana-bi-squad,2023-10-04,fals kubernetesPlaylists,experimental,@grafana/grafana-app-platform-squad,2023-11-08,false,false,true,false kubernetesSnapshots,experimental,@grafana/grafana-app-platform-squad,2023-12-04,false,false,true,false cloudWatchBatchQueries,preview,@grafana/aws-datasources,2023-10-20,false,false,false,false -recoveryThreshold,experimental,@grafana/alerting-squad,2023-10-10,false,false,true,false +recoveryThreshold,GA,@grafana/alerting-squad,2023-10-10,false,false,true,false lokiStructuredMetadata,experimental,@grafana/observability-logs,2023-11-16,false,false,false,false teamHttpHeaders,experimental,@grafana/identity-access-team,2023-10-17,false,false,false,false awsDatasourcesNewFormStyling,experimental,@grafana/aws-datasources,2023-10-12,false,false,false,true