Chore: Cleanup panelMonitoring feature flag (#113530)
This commit is contained in:
@@ -40,7 +40,6 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
|
||||
| `transformationsRedesign` | Enables the transformations redesign | Yes |
|
||||
| `awsAsyncQueryCaching` | Enable caching for async queries for Redshift and Athena. Requires that the datasource has caching and async query support enabled | Yes |
|
||||
| `dashgpt` | Enable AI powered features in dashboards | Yes |
|
||||
| `panelMonitoring` | Enables panel monitoring through logs and measurements | Yes |
|
||||
| `formatString` | Enable format string transformer | Yes |
|
||||
| `kubernetesDashboards` | Use the kubernetes API in the frontend for dashboards | Yes |
|
||||
| `addFieldFromCalculationStatFunctions` | Add cumulative and window functions to the add field from calculation transformation | Yes |
|
||||
|
||||
@@ -248,11 +248,6 @@ export interface FeatureToggles {
|
||||
*/
|
||||
externalServiceAccounts?: boolean;
|
||||
/**
|
||||
* Enables panel monitoring through logs and measurements
|
||||
* @default true
|
||||
*/
|
||||
panelMonitoring?: boolean;
|
||||
/**
|
||||
* Enables native HTTP Histograms
|
||||
*/
|
||||
enableNativeHTTPHistogram?: boolean;
|
||||
|
||||
@@ -405,14 +405,6 @@ var (
|
||||
Stage: FeatureStagePublicPreview,
|
||||
Owner: identityAccessTeam,
|
||||
},
|
||||
{
|
||||
Name: "panelMonitoring",
|
||||
Description: "Enables panel monitoring through logs and measurements",
|
||||
Stage: FeatureStageGeneralAvailability,
|
||||
Expression: "true", // enabled by default
|
||||
Owner: grafanaDatavizSquad,
|
||||
FrontendOnly: true,
|
||||
},
|
||||
{
|
||||
Name: "enableNativeHTTPHistogram",
|
||||
Description: "Enables native HTTP Histograms",
|
||||
|
||||
@@ -52,7 +52,6 @@ reportingRetries,preview,@grafana/grafana-operator-experience-squad,false,true,f
|
||||
sseGroupByDatasource,experimental,@grafana/observability-metrics,false,false,false
|
||||
lokiRunQueriesInParallel,privatePreview,@grafana/observability-logs,false,false,false
|
||||
externalServiceAccounts,preview,@grafana/identity-access-team,false,false,false
|
||||
panelMonitoring,GA,@grafana/dataviz-squad,false,false,true
|
||||
enableNativeHTTPHistogram,experimental,@grafana/grafana-backend-services-squad,false,true,false
|
||||
disableClassicHTTPHistogram,experimental,@grafana/grafana-backend-services-squad,false,true,false
|
||||
formatString,GA,@grafana/dataviz-squad,false,false,true
|
||||
|
||||
|
Generated
-4
@@ -219,10 +219,6 @@ const (
|
||||
// Automatic service account and token setup for plugins
|
||||
FlagExternalServiceAccounts = "externalServiceAccounts"
|
||||
|
||||
// FlagPanelMonitoring
|
||||
// Enables panel monitoring through logs and measurements
|
||||
FlagPanelMonitoring = "panelMonitoring"
|
||||
|
||||
// FlagEnableNativeHTTPHistogram
|
||||
// Enables native HTTP Histograms
|
||||
FlagEnableNativeHTTPHistogram = "enableNativeHTTPHistogram"
|
||||
|
||||
@@ -2905,7 +2905,8 @@
|
||||
"metadata": {
|
||||
"name": "panelMonitoring",
|
||||
"resourceVersion": "1753448760331",
|
||||
"creationTimestamp": "2023-10-09T05:19:08Z"
|
||||
"creationTimestamp": "2023-10-09T05:19:08Z",
|
||||
"deletionTimestamp": "2025-11-06T15:46:51Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Enables panel monitoring through logs and measurements",
|
||||
|
||||
@@ -33,7 +33,6 @@ import {
|
||||
AdHocFilterItem,
|
||||
} from '@grafana/ui';
|
||||
import appEvents from 'app/core/app_events';
|
||||
import config from 'app/core/config';
|
||||
import { profiler } from 'app/core/profiler';
|
||||
import { annotationServer } from 'app/features/annotations/api';
|
||||
import { applyPanelTimeOverrides } from 'app/features/dashboard/utils/panel';
|
||||
@@ -121,7 +120,7 @@ export class PanelStateWrapper extends PureComponent<Props, State> {
|
||||
data: this.getInitialPanelDataState(),
|
||||
};
|
||||
|
||||
if (config.featureToggles.panelMonitoring && this.getPanelContextApp() === CoreApp.PanelEditor) {
|
||||
if (this.getPanelContextApp() === CoreApp.PanelEditor) {
|
||||
const panelInfo = {
|
||||
panelId: String(props.panel.id),
|
||||
panelType: props.panel.type,
|
||||
@@ -395,7 +394,7 @@ export class PanelStateWrapper extends PureComponent<Props, State> {
|
||||
}
|
||||
|
||||
onPanelError = (error: Error) => {
|
||||
if (config.featureToggles.panelMonitoring && this.getPanelContextApp() === CoreApp.PanelEditor) {
|
||||
if (this.getPanelContextApp() === CoreApp.PanelEditor) {
|
||||
this.logPanelChangesOnError();
|
||||
}
|
||||
|
||||
@@ -543,7 +542,7 @@ export class PanelStateWrapper extends PureComponent<Props, State> {
|
||||
onChangeTimeRange={this.onChangeTimeRange}
|
||||
eventBus={dashboard.events}
|
||||
/>
|
||||
{config.featureToggles.panelMonitoring && this.state.errorMessage === undefined && (
|
||||
{this.state.errorMessage === undefined && (
|
||||
<PanelLoadTimeMonitor panelType={plugin.meta.id} panelId={panel.id} panelTitle={panel.title} />
|
||||
)}
|
||||
</PanelContextProvider>
|
||||
|
||||
Reference in New Issue
Block a user