@yugabytedb/perf-advisor-ui 1.0.164 → 1.0.165
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/README.md +7 -8
- package/dist/components/SecondaryDashboard/DrilldownView/BindVariablesSection.d.ts +3 -2
- package/dist/esm/index.js +4801 -4812
- package/dist/esm/index.js.map +1 -1
- package/dist/helpers/bindVariablesText.d.ts +4 -2
- package/dist/helpers/constants.d.ts +0 -2
- package/dist/helpers/dtos.d.ts +4 -10
- package/package.json +5 -5
- package/dist/helpers/gflagUtils.d.ts +0 -4
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { AppName } from './dtos';
|
|
2
2
|
export declare const getEntityLabel: (appName: AppName) => string;
|
|
3
|
-
export
|
|
3
|
+
export declare const MIN_BIND_VARIABLES_DB_VERSION = "2025.2.4.0-b0";
|
|
4
|
+
export interface BindVariablesDisabledReason {
|
|
4
5
|
title: string;
|
|
5
6
|
instruction: string;
|
|
6
7
|
}
|
|
7
8
|
export declare const getBindVariablesText: (appName: AppName) => {
|
|
8
9
|
sectionTitle: string;
|
|
9
10
|
toggleLabel: string;
|
|
11
|
+
collectionOffTitle: string;
|
|
10
12
|
collectionOff: string;
|
|
11
13
|
noValueYet: string;
|
|
12
14
|
valueCaveat: string;
|
|
@@ -23,4 +25,4 @@ export declare const getBindVariablesText: (appName: AppName) => {
|
|
|
23
25
|
warning: string;
|
|
24
26
|
};
|
|
25
27
|
};
|
|
26
|
-
export declare const
|
|
28
|
+
export declare const getBindVariablesDisabledReason: (bindVariablesSupported: boolean, bindVariablesEnabled: boolean, appName: AppName) => BindVariablesDisabledReason | null;
|
|
@@ -111,8 +111,6 @@ export declare const RUNTIME_CONFIG_KEYS: {
|
|
|
111
111
|
SHOW_TIMEZONE_SELECTOR: string;
|
|
112
112
|
QUERY_PLANS_STORE_BIND_VARIABLES: string;
|
|
113
113
|
};
|
|
114
|
-
export declare const YB_PG_STAT_PLANS_SHOW_MAX_EXEC_PARAMS = "yb_pg_stat_plans_show_max_exec_params";
|
|
115
|
-
export declare const YSQL_PG_CONF_CSV_GFLAG = "ysql_pg_conf_csv";
|
|
116
114
|
export declare const ANOMALY_TYPE_TO_NAME_MAP: Record<string, string>;
|
|
117
115
|
export declare const MORE = "MORE";
|
|
118
116
|
export declare const ELLIPSIS = "...";
|
package/dist/helpers/dtos.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface Universe {
|
|
|
9
9
|
qpmEnabled?: boolean;
|
|
10
10
|
qpmSupported?: boolean;
|
|
11
11
|
qpmBindVariablesEnabled?: boolean;
|
|
12
|
+
qpmBindVariablesSupported?: boolean;
|
|
12
13
|
kubernetes?: boolean;
|
|
13
14
|
resources: Resources;
|
|
14
15
|
universeConfig: UniverseConfig;
|
|
@@ -34,13 +35,6 @@ export declare enum NodeState {
|
|
|
34
35
|
BeingDecommissioned = "BeingDecommissioned",
|
|
35
36
|
Decommissioned = "Decommissioned"
|
|
36
37
|
}
|
|
37
|
-
export interface NodeDetails {
|
|
38
|
-
nodeIdx: number;
|
|
39
|
-
nodeName: string | null;
|
|
40
|
-
nodeUuid: string | null;
|
|
41
|
-
placementUuid: string;
|
|
42
|
-
state: NodeState;
|
|
43
|
-
}
|
|
44
38
|
export interface NodeDataCloudInfo {
|
|
45
39
|
region: string;
|
|
46
40
|
zone: string;
|
|
@@ -631,7 +625,7 @@ export interface IndexAnomalyDetails {
|
|
|
631
625
|
otherIndexName?: string;
|
|
632
626
|
otherIndexDefinition?: string;
|
|
633
627
|
}
|
|
634
|
-
export interface
|
|
628
|
+
export interface AnomalyTypeDetails {
|
|
635
629
|
indexDetails?: IndexAnomalyDetails;
|
|
636
630
|
}
|
|
637
631
|
export interface AnomalyInstance {
|
|
@@ -660,7 +654,7 @@ export interface AnomalyInstance {
|
|
|
660
654
|
rcaGuidelines: RCAGuideline[];
|
|
661
655
|
isResolved?: boolean;
|
|
662
656
|
wastedAASRatio?: number;
|
|
663
|
-
anomalyDetails?:
|
|
657
|
+
anomalyDetails?: AnomalyTypeDetails;
|
|
664
658
|
}
|
|
665
659
|
export interface Interval {
|
|
666
660
|
startTime: string;
|
|
@@ -944,7 +938,7 @@ export interface AnomalyPossibleCauseData {
|
|
|
944
938
|
summary: string;
|
|
945
939
|
observation: string;
|
|
946
940
|
possibleCauses: AnomalyPossibleCauseItem[];
|
|
947
|
-
anomalyDetails?:
|
|
941
|
+
anomalyDetails?: AnomalyTypeDetails;
|
|
948
942
|
}
|
|
949
943
|
export interface AnomalyPossibleCauseItem {
|
|
950
944
|
possibleCause: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yugabytedb/perf-advisor-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.165",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"eslint": "7.32.0",
|
|
40
40
|
"eslint-config-prettier": "8.3.0",
|
|
41
41
|
"eslint-plugin-import": "2.23.4",
|
|
42
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
42
43
|
"prettier": "2.1.0",
|
|
43
44
|
"rollup-plugin-visualizer": "5.14.0",
|
|
44
|
-
"standard-version": "9.5.0",
|
|
45
45
|
"typescript": "5.3.3",
|
|
46
46
|
"vite": "8.0.14",
|
|
47
47
|
"vite-plugin-dts": "4.5.4"
|
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
"lint:fix": "eslint src --ext .ts,.tsx,.js,.jsx --fix",
|
|
97
97
|
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
98
98
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
99
|
-
"
|
|
100
|
-
"release": "npm
|
|
101
|
-
"publish:yalc": "npm run build:dev && npx yalc publish --push"
|
|
99
|
+
"prepublishOnly": "npm run typecheck && npm run lint && npm run build",
|
|
100
|
+
"release": "npm ci && npm publish",
|
|
101
|
+
"publish:yalc": "npm run build:dev && npx yalc publish --push --no-scripts"
|
|
102
102
|
},
|
|
103
103
|
"sideEffects": [
|
|
104
104
|
"**/*.css"
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Universe } from './dtos';
|
|
2
|
-
export declare const getTserverGFlagValue: (universe: Universe | undefined, flagName: string) => string | undefined;
|
|
3
|
-
export declare const parseYsqlPgConfCsvBool: (csv: string | undefined, paramName: string) => boolean | undefined;
|
|
4
|
-
export declare const isBindVariablesGflagEnabled: (universe: Universe | undefined) => boolean;
|