@yugabytedb/perf-advisor-ui 1.0.148 → 1.0.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/SecondaryDashboard/AnomalyRouter.d.ts +3 -2
- package/dist/components/SecondaryDashboard/Metadata/AnomalyRCAGraphs.d.ts +3 -3
- package/dist/components/SecondaryDashboard/Metadata/NodeLoadMetadata.d.ts +8 -1
- package/dist/components/SecondaryDashboard/Metadata/QueriesMetadata.d.ts +5 -1
- package/dist/components/SecondaryDashboard/anomalyPrimitives/GroupBySelector.d.ts +12 -0
- package/dist/components/SecondaryDashboard/anomalyPrimitives/NodeAnomalyControls.d.ts +23 -0
- package/dist/components/SecondaryDashboard/anomalyPrimitives/QueriesTable.d.ts +26 -0
- package/dist/components/SecondaryDashboard/anomalyPrimitives/SplitControl.d.ts +16 -0
- package/dist/components/SecondaryDashboard/anomalyPrimitives/SystemLoadPanel.d.ts +28 -0
- package/dist/components/SecondaryDashboard/anomalyViewConfig.d.ts +35 -0
- package/dist/components/SecondaryDashboard/anomalyViews/GraphOnlyView.d.ts +5 -0
- package/dist/components/SecondaryDashboard/anomalyViews/NodeAnomalyView.d.ts +8 -0
- package/dist/components/SecondaryDashboard/anomalyViews/SqlAnomalyView.d.ts +2 -0
- package/dist/components/SecondaryDashboard/anomalyViews/TabletAnomalyView.d.ts +2 -0
- package/dist/components/SecondaryDashboard/anomalyViews/types.d.ts +32 -0
- package/dist/components/hooks/useAnomalyPreselection.d.ts +26 -0
- package/dist/components/styles.d.ts +1 -1
- package/dist/esm/index.js +14570 -14246
- package/dist/esm/index.js.map +1 -1
- package/dist/helpers/constants.d.ts +1 -6
- package/dist/helpers/dtos.d.ts +8 -0
- package/package.json +1 -1
- package/dist/components/SecondaryDashboard/DrilldownView/CpuSaturationDrilldown.d.ts +0 -17
- package/dist/components/SecondaryDashboard/DrilldownView/NodeDrilldown.d.ts +0 -23
|
@@ -18,6 +18,7 @@ export declare const MetricConsts: {
|
|
|
18
18
|
readonly PRIMARY: "PRIMARY";
|
|
19
19
|
};
|
|
20
20
|
export declare const ACTIVE_SESSION_HISTORY_EPS_GLOBAL = "active_session_history_eps_global";
|
|
21
|
+
export declare const ACTIVE_SESSION_HISTORY_SYSTEM_LOAD = "active_session_history_system_load";
|
|
21
22
|
export declare const ACTIVE_SESSION_HISTORY_QUERY_EVENTS = "active_session_history_query_events";
|
|
22
23
|
export declare const ACTIVE_SESSION_HISOTRY_EPS_CLIENT_NODE = "active_session_history_eps_client_node";
|
|
23
24
|
export declare const CPU_COUNT = "cpu_count";
|
|
@@ -91,14 +92,8 @@ export declare const SQL_DRILLDOWN_BASE_TABS: readonly SqlDrilldownTabConfig[];
|
|
|
91
92
|
export declare const SQL_DRILLDOWN_PGSS_RPC_TABS: readonly SqlDrilldownTabConfig[];
|
|
92
93
|
export declare const unionGraphNamesForTabs: (tabs: readonly SqlDrilldownTabConfig[]) => string[];
|
|
93
94
|
export declare const CQL_QUERY_REQUEST_GRAPHS: string[];
|
|
94
|
-
export declare const CQL_DRILLDOWN_BASE_TABS: readonly SqlDrilldownTabConfig[];
|
|
95
95
|
export declare const BACKGROUND_QUERY_REQUEST_GRAPHS: string[];
|
|
96
96
|
export declare const CATALOG_READ_REQUEST_GRAPH = "ysql_connections_per_sec";
|
|
97
|
-
/** Background-task query id (see backend createBackgroundStats) for the Catalog Read task. */
|
|
98
|
-
export declare const CATALOG_READ_BACKGROUND_QUERY_ID = "5";
|
|
99
|
-
export declare const getBackgroundRequestGraphs: (queryId?: string | null) => string[];
|
|
100
|
-
/** Background drilldown tabs. Background tasks have no PGSS RPC stats, so only Performance Metrics. */
|
|
101
|
-
export declare const getBackgroundDrilldownBaseTabs: (queryId?: string | null) => readonly SqlDrilldownTabConfig[];
|
|
102
97
|
export declare const DEFAULT_RECORDS_PER_PAGE: number[];
|
|
103
98
|
export declare const ANOMALY_CATEGORY_LIST: AnomalyCategory[];
|
|
104
99
|
export declare const GLOBAL_RUNTIME_CONFIG = "00000000-0000-0000-0000-000000000000";
|
package/dist/helpers/dtos.d.ts
CHANGED
|
@@ -176,6 +176,9 @@ export declare enum AnomalyType {
|
|
|
176
176
|
HOT_NODE_CPU = "HOT_NODE_CPU",
|
|
177
177
|
HIGH_MEMORY_USAGE = "HIGH_MEMORY_USAGE",
|
|
178
178
|
HOT_NODE_YSQL_QUERIES = "HOT_NODE_YSQL_QUERIES",
|
|
179
|
+
HOT_NODE_YSQL_LOAD = "HOT_NODE_YSQL_LOAD",
|
|
180
|
+
HOT_NODE_IO_LOAD = "HOT_NODE_IO_LOAD",
|
|
181
|
+
HOT_NODE_CONNECTIONS = "HOT_NODE_CONNECTIONS",
|
|
179
182
|
SLOW_DISKS = "SLOW_DISKS",
|
|
180
183
|
HIGH_SQL_CONNECTIONS = "HIGH_SQL_CONNECTIONS",
|
|
181
184
|
HIGH_SQL_CONNECTION_RATE = "HIGH_SQL_CONNECTION_RATE",
|
|
@@ -710,6 +713,11 @@ export declare const DB_WAIT_EVENT_TYPE_MAPPING: {
|
|
|
710
713
|
IO: string;
|
|
711
714
|
DISK_IO: string;
|
|
712
715
|
};
|
|
716
|
+
/**
|
|
717
|
+
* ASH wait-event classes the "IO" selector resolves to by default across the UI: both DiskIO
|
|
718
|
+
* (storage-engine disk waits) and IO (YSQL stream/IPC IO).
|
|
719
|
+
*/
|
|
720
|
+
export declare const DEFAULT_IO_WAIT_EVENT_TYPES: string[];
|
|
713
721
|
export declare const DbWaitEventType: {
|
|
714
722
|
readonly ALL: "ALL";
|
|
715
723
|
readonly IO: "IO";
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AnomalyGroup, AppName, ClusterDetails, QueryPageParams } from '../../../helpers/dtos';
|
|
2
|
-
interface CpuSaturationDrilldownProps {
|
|
3
|
-
appName: AppName;
|
|
4
|
-
apiUrl: string;
|
|
5
|
-
anomalyData: AnomalyGroup | null;
|
|
6
|
-
dateTimeRange: {
|
|
7
|
-
startDateTime: Date;
|
|
8
|
-
endDateTime: Date;
|
|
9
|
-
};
|
|
10
|
-
metricMeasure: string;
|
|
11
|
-
getClusterDetails: () => ClusterDetails;
|
|
12
|
-
onEChartsDateSelect: (startDateTime: number, endDateTime: number) => void;
|
|
13
|
-
onSelectedQuery?: (queryId: string | null, params?: QueryPageParams) => void;
|
|
14
|
-
onNavigateToUrl?: (url: string) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const CpuSaturationDrilldown: ({ appName, apiUrl, anomalyData, dateTimeRange, metricMeasure, getClusterDetails, onEChartsDateSelect, onSelectedQuery, onNavigateToUrl }: CpuSaturationDrilldownProps) => JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { AnomalyGroup, AppName, ClusterDetails, QueryPageParams, SplitMode, WaitEventClassification } from '../../../helpers/dtos';
|
|
2
|
-
interface NodeDrilldownProps {
|
|
3
|
-
appName: AppName;
|
|
4
|
-
dbWaitEventType: string;
|
|
5
|
-
apiUrl: string;
|
|
6
|
-
dateTimeRange: {
|
|
7
|
-
startDateTime: Date;
|
|
8
|
-
endDateTime: Date;
|
|
9
|
-
};
|
|
10
|
-
groupByOperation: WaitEventClassification;
|
|
11
|
-
anomalyData: AnomalyGroup | null;
|
|
12
|
-
onFilterBarData: (data: string[]) => void;
|
|
13
|
-
onChangeDbWaitEventType: (waitEventType: string) => void;
|
|
14
|
-
getClusterDetails: () => ClusterDetails;
|
|
15
|
-
onSelectedQuery?: (queryId: string | null, params?: QueryPageParams) => void;
|
|
16
|
-
onSetGroupByOperation: (operation: WaitEventClassification) => void;
|
|
17
|
-
onOutlierTypeSelected: (selectedOption: SplitMode) => void;
|
|
18
|
-
onNumNodesChanged: (numNodes: number) => void;
|
|
19
|
-
onEChartsDateSelect: (startDateTime: number, endDateTime: number) => void;
|
|
20
|
-
onNavigateToUrl?: (url: string) => void;
|
|
21
|
-
}
|
|
22
|
-
export declare const NodeDrilldown: ({ appName, anomalyData, dbWaitEventType, apiUrl, dateTimeRange, onFilterBarData, onChangeDbWaitEventType, getClusterDetails, onOutlierTypeSelected, onNumNodesChanged, onEChartsDateSelect, onSelectedQuery, onNavigateToUrl }: NodeDrilldownProps) => JSX.Element;
|
|
23
|
-
export {};
|