From b839be6086ca284e1b6980bafdd3f6f4936f6f03 Mon Sep 17 00:00:00 2001 From: Matias Chomicki Date: Wed, 9 Apr 2025 19:54:02 +0200 Subject: [PATCH] Enable logsPanelControls by default (#103725) --- .../configure-grafana/feature-toggles/index.md | 1 + packages/grafana-data/src/types/featureToggles.gen.ts | 2 +- pkg/services/featuremgmt/registry.go | 4 ++-- pkg/services/featuremgmt/toggles_gen.csv | 2 +- pkg/services/featuremgmt/toggles_gen.json | 8 ++++---- 5 files changed, 9 insertions(+), 8 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 9c3f42d5d1c..376497c0f6d 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -116,6 +116,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general- | `teamHttpHeadersMimir` | Enables LBAC for datasources for Mimir to apply LBAC filtering of metrics to the client requests for users in teams | | `alertRuleRestore` | Enables the alert rule restore feature | | `azureMonitorLogsBuilderEditor` | Enables the logs builder mode for the Azure Monitor data source | +| `logsPanelControls` | Enables a control component for the logs panel in Explore | ## Experimental feature toggles diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index ad5b8f4d272..5ace54c0d2b 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -1034,7 +1034,7 @@ export interface FeatureToggles { unifiedNavbars?: boolean; /** * Enables a control component for the logs panel in Explore - * @default false + * @default true */ logsPanelControls?: boolean; /** diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 9fc2b9d83aa..d457e60b206 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1779,10 +1779,10 @@ var ( { Name: "logsPanelControls", Description: "Enables a control component for the logs panel in Explore", - Stage: FeatureStagePrivatePreview, + Stage: FeatureStagePublicPreview, FrontendOnly: true, Owner: grafanaObservabilityLogsSquad, - Expression: "false", + Expression: "true", }, { Name: "metricsFromProfiles", diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 90c71ddf3e5..968b1ca6dfa 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -232,5 +232,5 @@ xrayApplicationSignals,experimental,@grafana/aws-datasources,false,false,true multiTenantTempCredentials,experimental,@grafana/aws-datasources,false,false,false localizationForPlugins,experimental,@grafana/plugins-platform-backend,false,false,false unifiedNavbars,GA,@grafana/plugins-platform-backend,false,false,true -logsPanelControls,privatePreview,@grafana/observability-logs,false,false,true +logsPanelControls,preview,@grafana/observability-logs,false,false,true metricsFromProfiles,experimental,@grafana/observability-traces-and-profiling,false,false,true diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index 7fd4c2f4b10..0ee2d082a83 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -1867,18 +1867,18 @@ { "metadata": { "name": "logsPanelControls", - "resourceVersion": "1743772342343", + "resourceVersion": "1744209818391", "creationTimestamp": "2025-04-04T13:11:29Z", "annotations": { - "grafana.app/updatedTimestamp": "2025-04-04 13:12:22.343052 +0000 UTC" + "grafana.app/updatedTimestamp": "2025-04-09 14:43:38.391331 +0000 UTC" } }, "spec": { "description": "Enables a control component for the logs panel in Explore", - "stage": "privatePreview", + "stage": "preview", "codeowner": "@grafana/observability-logs", "frontend": true, - "expression": "false" + "expression": "true" } }, {