From 8173bd89bf0b233485f42c87acf8461d353a09a9 Mon Sep 17 00:00:00 2001 From: Kristina Date: Mon, 6 May 2024 07:13:09 -0500 Subject: [PATCH] Explore: Only let nodeGraph frames process through nodeGraph visualization (#87198) * Only let nodeGraph frames process through nodeGraph * add metadata to test frames to be processed * Revert "add metadata to test frames to be processed" This reverts commit fc366a0ab4928751b2382f7a09d41ead34bc9c89. * Revert "Only let nodeGraph frames process through nodeGraph" This reverts commit b8be50e2196410fc8155aed7630bfddd1408b62c. * Only send node graph frames to node graph logic * remove unnecessary logic --- public/app/features/explore/Explore.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/public/app/features/explore/Explore.tsx b/public/app/features/explore/Explore.tsx index 91313cd2e3f..a890bcf48c1 100644 --- a/public/app/features/explore/Explore.tsx +++ b/public/app/features/explore/Explore.tsx @@ -1,6 +1,5 @@ import { css, cx } from '@emotion/css'; import { get, groupBy } from 'lodash'; -import memoizeOne from 'memoize-one'; import React from 'react'; import { connect, ConnectedProps } from 'react-redux'; import AutoSizer, { HorizontalSize } from 'react-virtualized-auto-sizer'; @@ -31,7 +30,6 @@ import { import { FILTER_FOR_OPERATOR, FILTER_OUT_OPERATOR } from '@grafana/ui/src/components/Table/types'; import { supportedFeatures } from 'app/core/history/richHistoryStorageProvider'; import { MIXED_DATASOURCE_NAME } from 'app/plugins/datasource/mixed/MixedDataSource'; -import { getNodeGraphDataFrames } from 'app/plugins/panel/nodeGraph/utils'; import { StoreState } from 'app/types'; import { getTimeZone } from '../profile/state/selectors'; @@ -145,7 +143,6 @@ export class Explore extends React.PureComponent { scrollElement: HTMLDivElement | undefined; graphEventBus: EventBus; logsEventBus: EventBus; - memoizedGetNodeGraphDataFrames = memoizeOne(getNodeGraphDataFrames); constructor(props: Props) { super(props); @@ -474,7 +471,7 @@ export class Explore extends React.PureComponent { return (