Alerting: Remove alertingInsights feature toggle (#104918)

remove alertingInsights feature toggle
This commit is contained in:
Sonia Aguilar 2025-05-05 10:55:06 +02:00 committed by GitHub
parent fba0b10881
commit fd65b83a53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 3 additions and 24 deletions

View File

@ -41,7 +41,6 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
| `awsAsyncQueryCaching` | Enable caching for async queries for Redshift and Athena. Requires that the datasource has caching and async query support enabled | Yes |
| `angularDeprecationUI` | Display Angular warnings in dashboards and panels | Yes |
| `dashgpt` | Enable AI powered features in dashboards | Yes |
| `alertingInsights` | Show the new alerting insights landing page | Yes |
| `externalCorePlugins` | Allow core plugins to be loaded as external | Yes |
| `panelMonitoring` | Enables panel monitoring through logs and measurements | Yes |
| `formatString` | Enable format string transformer | Yes |

View File

@ -273,11 +273,6 @@ export interface FeatureToggles {
*/
wargamesTesting?: boolean;
/**
* Show the new alerting insights landing page
* @default true
*/
alertingInsights?: boolean;
/**
* Allow core plugins to be loaded as external
* @default true
*/

View File

@ -450,16 +450,6 @@ var (
FrontendOnly: false,
Owner: hostedGrafanaTeam,
},
{
Name: "alertingInsights",
Description: "Show the new alerting insights landing page",
FrontendOnly: true,
Stage: FeatureStageGeneralAvailability,
Owner: grafanaAlertingSquad,
Expression: "true", // enabled by default
AllowSelfServe: false,
HideFromAdminPage: true, // This is moving away from being a feature toggle.
},
{
Name: "externalCorePlugins",
Description: "Allow core plugins to be loaded as external",

View File

@ -58,7 +58,6 @@ sseGroupByDatasource,experimental,@grafana/observability-metrics,false,false,fal
libraryPanelRBAC,experimental,@grafana/dashboards-squad,false,true,false
lokiRunQueriesInParallel,privatePreview,@grafana/observability-logs,false,false,false
wargamesTesting,experimental,@grafana/hosted-grafana-team,false,false,false
alertingInsights,GA,@grafana/alerting-squad,false,false,true
externalCorePlugins,GA,@grafana/plugins-platform-backend,false,false,false
externalServiceAccounts,preview,@grafana/identity-access-team,false,false,false
panelMonitoring,GA,@grafana/dataviz-squad,false,false,true

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
58 libraryPanelRBAC experimental @grafana/dashboards-squad false true false
59 lokiRunQueriesInParallel privatePreview @grafana/observability-logs false false false
60 wargamesTesting experimental @grafana/hosted-grafana-team false false false
alertingInsights GA @grafana/alerting-squad false false true
61 externalCorePlugins GA @grafana/plugins-platform-backend false false false
62 externalServiceAccounts preview @grafana/identity-access-team false false false
63 panelMonitoring GA @grafana/dataviz-squad false false true

View File

@ -243,10 +243,6 @@ const (
// Placeholder feature flag for internal testing
FlagWargamesTesting = "wargamesTesting"
// FlagAlertingInsights
// Show the new alerting insights landing page
FlagAlertingInsights = "alertingInsights"
// FlagExternalCorePlugins
// Allow core plugins to be loaded as external
FlagExternalCorePlugins = "externalCorePlugins"

View File

@ -159,7 +159,8 @@
"metadata": {
"name": "alertingInsights",
"resourceVersion": "1745491786560",
"creationTimestamp": "2023-09-14T12:58:04Z"
"creationTimestamp": "2023-09-14T12:58:04Z",
"deletionTimestamp": "2025-05-05T08:01:40Z"
},
"spec": {
"description": "Show the new alerting insights landing page",

View File

@ -1,6 +1,5 @@
import { useState } from 'react';
import { config } from '@grafana/runtime';
import { Box, Stack, Tab, TabContent, TabsBar } from '@grafana/ui';
import { t } from 'app/core/internationalization';
@ -13,7 +12,7 @@ import { getInsightsScenes, insightsIsAvailable } from './Insights';
import { PluginIntegrations } from './PluginIntegrations';
function Home() {
const insightsEnabled = (insightsIsAvailable() || isLocalDevEnv()) && Boolean(config.featureToggles.alertingInsights);
const insightsEnabled = insightsIsAvailable() || isLocalDevEnv();
const [activeTab, setActiveTab] = useState<'insights' | 'overview'>(insightsEnabled ? 'insights' : 'overview');
const insightsScene = getInsightsScenes();