mirror of https://github.com/grafana/grafana.git
Alerting: Remove alertingInsights feature toggle (#104918)
remove alertingInsights feature toggle
This commit is contained in:
parent
fba0b10881
commit
fd65b83a53
|
|
@ -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 |
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue