From cbd6b53182768488ce9bcfccc6c1066ed91d0942 Mon Sep 17 00:00:00 2001 From: Matias Chomicki Date: Mon, 3 Nov 2025 15:21:39 +0100 Subject: [PATCH] New Logs Panel: Enable new visualization by default (#113340) * New Logs Panel: enabled by default * Update toggles * Change feature flag availability --- .../configure-grafana/feature-toggles/index.md | 1 + .../grafana-data/src/types/featureToggles.gen.ts | 3 ++- pkg/services/featuremgmt/registry.go | 5 +++-- pkg/services/featuremgmt/toggles_gen.csv | 2 +- pkg/services/featuremgmt/toggles_gen.go | 2 +- pkg/services/featuremgmt/toggles_gen.json | 14 +++++++++----- 6 files changed, 17 insertions(+), 10 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 f035ad7db6d..b9d830495c5 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -74,6 +74,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general- | `elasticsearchCrossClusterSearch` | Enables cross cluster search in the Elasticsearch data source | | | `lokiLabelNamesQueryApi` | Defaults to using the Loki `/labels` API instead of `/series` | Yes | | `improvedExternalSessionHandlingSAML` | Enables improved support for SAML external sessions. Ensure the NameID format is correctly configured in Grafana for SAML Single Logout to function properly. | Yes | +| `newLogsPanel` | Enables the new logs panel | Yes | | `alertingMigrationUI` | Enables the alerting migration UI, to migrate data source-managed rules to Grafana-managed rules | Yes | | `alertingImportYAMLUI` | Enables a UI feature for importing rules from a Prometheus file to Grafana-managed rules | Yes | | `unifiedNavbars` | Enables unified navbars | | diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index 807bde7db74..eeddfb65a7b 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -883,7 +883,8 @@ export interface FeatureToggles { */ fetchRulesUsingPost?: boolean; /** - * Enables the new logs panel in Explore + * Enables the new logs panel + * @default true */ newLogsPanel?: boolean; /** diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 3487cb00d8e..6f6b6395b5e 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1516,10 +1516,11 @@ var ( }, { Name: "newLogsPanel", - Description: "Enables the new logs panel in Explore", - Stage: FeatureStageExperimental, + Description: "Enables the new logs panel", + Stage: FeatureStageGeneralAvailability, FrontendOnly: true, Owner: grafanaObservabilityLogsSquad, + Expression: "true", }, { Name: "grafanaconThemes", diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 6423bfa6bcc..b317a33e91e 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -198,7 +198,7 @@ grafanaAdvisor,privatePreview,@grafana/plugins-platform-backend,false,false,fals elasticsearchImprovedParsing,experimental,@grafana/aws-datasources,false,false,false datasourceConnectionsTab,privatePreview,@grafana/plugins-platform-backend,false,false,true fetchRulesUsingPost,experimental,@grafana/alerting-squad,false,false,false -newLogsPanel,experimental,@grafana/observability-logs,false,false,true +newLogsPanel,GA,@grafana/observability-logs,false,false,true grafanaconThemes,GA,@grafana/grafana-frontend-platform,false,true,false alertingJiraIntegration,experimental,@grafana/alerting-squad,false,false,true alertingUseNewSimplifiedRoutingHashAlgorithm,preview,@grafana/alerting-squad,false,true,false diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index caf057a2b08..c470fb6bce3 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -804,7 +804,7 @@ const ( FlagFetchRulesUsingPost = "fetchRulesUsingPost" // FlagNewLogsPanel - // Enables the new logs panel in Explore + // Enables the new logs panel FlagNewLogsPanel = "newLogsPanel" // FlagGrafanaconThemes diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index 12add4d3d1f..5d6688fb853 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -2775,14 +2775,18 @@ { "metadata": { "name": "newLogsPanel", - "resourceVersion": "1753448760331", - "creationTimestamp": "2025-02-04T17:40:17Z" + "resourceVersion": "1762166984808", + "creationTimestamp": "2025-02-04T17:40:17Z", + "annotations": { + "grafana.app/updatedTimestamp": "2025-11-03 10:49:44.808226 +0000 UTC" + } }, "spec": { - "description": "Enables the new logs panel in Explore", - "stage": "experimental", + "description": "Enables the new logs panel", + "stage": "GA", "codeowner": "@grafana/observability-logs", - "frontend": true + "frontend": true, + "expression": "true" } }, {