diff --git a/.betterer.results b/.betterer.results index f4b623c3b11..25a5b2240f7 100644 --- a/.betterer.results +++ b/.betterer.results @@ -4781,9 +4781,6 @@ exports[`better eslint`] = { [0, 0, 0, "Unexpected any. Specify a different type.", "0"], [0, 0, 0, "Unexpected any. Specify a different type.", "1"] ], - "public/app/plugins/panel/flamegraph/components/FlameGraphTopWrapper.tsx:5381": [ - [0, 0, 0, "Unexpected any. Specify a different type.", "0"] - ], "public/app/plugins/panel/gauge/GaugeMigrations.ts:5381": [ [0, 0, 0, "Unexpected any. Specify a different type.", "0"] ], 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 387bd2738c2..60c573640cc 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -105,7 +105,6 @@ Experimental features might be changed or removed without prior notice. | `alertStateHistoryLokiPrimary` | Enable a remote Loki instance as the primary source for state history reads. | | `alertStateHistoryLokiOnly` | Disable Grafana alerts from emitting annotations when a remote Loki instance is available. | | `unifiedRequestLog` | Writes error logs to the request logger | -| `pyroscopeFlameGraph` | Changes flame graph to pyroscope one | | `extraThemes` | Enables extra themes | | `lokiPredefinedOperations` | Adds predefined query operations to Loki query editor | | `pluginsFrontendSandbox` | Enables the plugins frontend sandbox | diff --git a/package.json b/package.json index c9e0f197fa9..cb8b3cea0d3 100644 --- a/package.json +++ b/package.json @@ -288,7 +288,6 @@ "@opentelemetry/semantic-conventions": "1.15.0", "@popperjs/core": "2.11.8", "@prometheus-io/lezer-promql": "^0.37.0-rc.1", - "@pyroscope/flamegraph": "^0.35.5", "@react-aria/button": "3.8.0", "@react-aria/dialog": "3.5.3", "@react-aria/focus": "3.13.0", diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index c95383fb657..9efe5ab8893 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -81,7 +81,6 @@ export interface FeatureToggles { alertStateHistoryLokiOnly?: boolean; unifiedRequestLog?: boolean; renderAuthJWT?: boolean; - pyroscopeFlameGraph?: boolean; externalServiceAuth?: boolean; refactorVariablesTimeRange?: boolean; useCachingService?: boolean; diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index e0e57f5f055..ebdc9b8e682 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -432,12 +432,6 @@ var ( Stage: FeatureStagePublicPreview, Owner: grafanaAsCodeSquad, }, - { - Name: "pyroscopeFlameGraph", - Description: "Changes flame graph to pyroscope one", - Stage: FeatureStageExperimental, - Owner: grafanaObservabilityTracesAndProfilingSquad, - }, { Name: "externalServiceAuth", Description: "Starts an OAuth2 authentication provider for external services", diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 05e85aed297..f009af5dddc 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -62,7 +62,6 @@ alertStateHistoryLokiPrimary,experimental,@grafana/alerting-squad,false,false,fa alertStateHistoryLokiOnly,experimental,@grafana/alerting-squad,false,false,false,false unifiedRequestLog,experimental,@grafana/backend-platform,false,false,false,false renderAuthJWT,preview,@grafana/grafana-as-code,false,false,false,false -pyroscopeFlameGraph,experimental,@grafana/observability-traces-and-profiling,false,false,false,false externalServiceAuth,experimental,@grafana/grafana-authnz-team,true,false,false,false refactorVariablesTimeRange,preview,@grafana/dashboards-squad,false,false,false,false useCachingService,GA,@grafana/grafana-operator-experience-squad,false,false,true,false diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index 72b4cbc6291..e379c57423d 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -259,10 +259,6 @@ const ( // Uses JWT-based auth for rendering instead of relying on remote cache FlagRenderAuthJWT = "renderAuthJWT" - // FlagPyroscopeFlameGraph - // Changes flame graph to pyroscope one - FlagPyroscopeFlameGraph = "pyroscopeFlameGraph" - // FlagExternalServiceAuth // Starts an OAuth2 authentication provider for external services FlagExternalServiceAuth = "externalServiceAuth" diff --git a/public/app/features/explore/FlameGraph/FlameGraphExploreContainer.tsx b/public/app/features/explore/FlameGraph/FlameGraphExploreContainer.tsx index 05a27a90501..a7ace9b8794 100644 --- a/public/app/features/explore/FlameGraph/FlameGraphExploreContainer.tsx +++ b/public/app/features/explore/FlameGraph/FlameGraphExploreContainer.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { DataFrame, GrafanaTheme2, CoreApp } from '@grafana/data'; import { useStyles2 } from '@grafana/ui'; -import { FlameGraphTopWrapper } from 'app/plugins/panel/flamegraph/components/FlameGraphTopWrapper'; +import FlameGraphContainer from 'app/plugins/panel/flamegraph/components/FlameGraphContainer'; interface Props { dataFrames: DataFrame[]; @@ -14,7 +14,7 @@ export const FlameGraphExploreContainer = (props: Props) => { return (