@yugabytedb/perf-advisor-ui 1.0.162 → 1.0.163

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.
@@ -0,0 +1,26 @@
1
+ import { AppName } from './dtos';
2
+ export declare const getEntityLabel: (appName: AppName) => string;
3
+ export interface BindVariablesGflagReason {
4
+ title: string;
5
+ instruction: string;
6
+ }
7
+ export declare const getBindVariablesText: (appName: AppName) => {
8
+ sectionTitle: string;
9
+ toggleLabel: string;
10
+ collectionOff: string;
11
+ noValueYet: string;
12
+ valueCaveat: string;
13
+ enableDialog: {
14
+ title: string;
15
+ submitLabel: string;
16
+ body: string;
17
+ note: string;
18
+ };
19
+ disableDialog: {
20
+ title: string;
21
+ submitLabel: string;
22
+ body: string;
23
+ warning: string;
24
+ };
25
+ };
26
+ export declare const getBindVariablesGflagReason: (gflagEnabled: boolean, appName: AppName) => BindVariablesGflagReason | null;
@@ -109,7 +109,10 @@ export declare const RUNTIME_CONFIG_KEYS: {
109
109
  SHOW_TOPK_METRICS_VIEW: string;
110
110
  SHOW_DB_CLUSTER_LOAD_VIEW: string;
111
111
  SHOW_TIMEZONE_SELECTOR: string;
112
+ QUERY_PLANS_STORE_BIND_VARIABLES: string;
112
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";
113
116
  export declare const ANOMALY_TYPE_TO_NAME_MAP: Record<string, string>;
114
117
  export declare const MORE = "MORE";
115
118
  export declare const ELLIPSIS = "...";
@@ -8,6 +8,7 @@ export interface Universe {
8
8
  isPgssRpcStatsSupported?: boolean;
9
9
  qpmEnabled?: boolean;
10
10
  qpmSupported?: boolean;
11
+ qpmBindVariablesEnabled?: boolean;
11
12
  kubernetes?: boolean;
12
13
  resources: Resources;
13
14
  universeConfig: UniverseConfig;
@@ -611,6 +612,16 @@ export declare enum RuntimeConfigType {
611
612
  BOOL = "BOOL",
612
613
  DURATION = "DURATION"
613
614
  }
615
+ export declare enum RuntimeConfigScopeLevel {
616
+ GLOBAL = "GLOBAL",
617
+ CUSTOMER = "CUSTOMER",
618
+ UNIVERSE = "UNIVERSE"
619
+ }
620
+ export interface UniverseDetailsListItem {
621
+ universeUUID: string;
622
+ name: string;
623
+ ybmClusterName?: string;
624
+ }
614
625
  export interface IndexAnomalyDetails {
615
626
  indexName: string;
616
627
  schemaName: string;
@@ -0,0 +1,4 @@
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yugabytedb/perf-advisor-ui",
3
- "version": "1.0.162",
3
+ "version": "1.0.163",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",