@yugabytedb/perf-advisor-ui 1.0.166 → 1.0.168

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.
@@ -440,6 +440,21 @@ export declare const NAME_COLOR_MAPPING: {
440
440
  [key: string]: string;
441
441
  };
442
442
  export declare const TOOLTIP_TEXT: {
443
+ SCHEMA_DDL_UNRESOLVED: string;
444
+ SCHEMA_INDEX_LIST: string;
445
+ SCHEMA_OBJECT_NAME: string;
446
+ SCHEMA_OBJECT_TYPE: string;
447
+ SCHEMA_OBJECT_DATABASE: string;
448
+ SCHEMA_INDEXES_USED: string;
449
+ SCHEMA_OBJECT_TABLETS: string;
450
+ SCHEMA_OBJECT_STATUS: string;
451
+ SCHEMA_OBJECT_UPDATED: string;
452
+ SCHEMA_INDEX_NAME: string;
453
+ SCHEMA_INDEX_COLUMNS: string;
454
+ SCHEMA_INDEX_TYPE: string;
455
+ SCHEMA_INDEX_METHOD: string;
456
+ SCHEMA_INDEX_TABLETS: string;
457
+ SCHEMA_INDEX_UPDATED: string;
443
458
  WAIT_EVENT_TYPE_CHART_TOOLTIP: string;
444
459
  WAIT_EVENT_CHART_TOOLTIP: string;
445
460
  ACTIVE_SESSIONS_PER_SECOND_TOOLTIP: string;
@@ -504,6 +519,10 @@ export declare const HISTORICAL_QUERY_DATA_LABELS: {
504
519
  };
505
520
  export declare const ADD_COLUMNS_BUTTON_TEXT = "Add Columns";
506
521
  export declare const VIEW_SCHEMA_BUTTON_TEXT = "View schema";
522
+ export declare const SCHEMA_RELATION_FETCH_LIMIT = 500;
523
+ export declare const SCHEMA_EXPAND_ALL_LIMIT = 25;
524
+ export declare const SCHEMA_DEFAULT_EXPANDED_ROWS = 2;
525
+ export declare const SCHEMA_MAX_INLINE_DDL_CHARS = 200000;
507
526
  export declare const DEFAULT_ERROR_MESSAGES: {
508
527
  UNIVERSE_PA_STATUS_ERROR: string;
509
528
  UNIVERSE_DETAILS_ERROR: string;
@@ -522,6 +541,7 @@ export declare const DEFAULT_ERROR_MESSAGES: {
522
541
  CLUSTER_LOAD_FETCH_ERROR: string;
523
542
  QUERY_STATS_FETCH_ERROR: string;
524
543
  DB_STATS_FETCH_ERROR: string;
544
+ QUERY_SCHEMA_FETCH_ERROR: string;
525
545
  };
526
546
  export declare const ANOMALY_TABLET_UNRESOLVED_MESSAGES: {
527
547
  NOT_FOUND: string;
@@ -611,6 +611,12 @@ export interface ExportConfigData {
611
611
  collectionEndpoint: string;
612
612
  collectionAuth?: ExportAuth | null;
613
613
  includeGlobalPaMetrics: boolean;
614
+ /**
615
+ * Sent as the YBM-Account-ID and YBM-Project-ID headers on both endpoints. A BYOC ingest gateway
616
+ * identifies the sender by these rather than by credential; a plain Perf Advisor needs neither.
617
+ */
618
+ ybmAccountId?: string;
619
+ ybmProjectId?: string;
614
620
  }
615
621
  export interface RuntimeConfigData {
616
622
  description: string;
@@ -749,7 +755,8 @@ export declare enum TabletTabs {
749
755
  }
750
756
  export declare enum SqlTabs {
751
757
  QUERY_OVERVIEW = "Query Overview",
752
- EXPLAIN_PLAN = "Explain Plan"
758
+ EXPLAIN_PLAN = "Explain Plan",
759
+ SCHEMA = "Schema"
753
760
  }
754
761
  export declare enum SqlDrilldownTabs {
755
762
  PERFORMANCE_METRICS = "Performance Metrics",
@@ -934,6 +941,25 @@ export interface TransformedTabletsData {
934
941
  leaderNode: string;
935
942
  followerNodes: string[];
936
943
  }
944
+ export interface AccessedIndexStats {
945
+ name: string;
946
+ eps: number;
947
+ totalEpsRatio: number;
948
+ tabletCount: number;
949
+ deletedDate?: string;
950
+ }
951
+ export interface SchemaObjectRow {
952
+ key: string;
953
+ databaseName: string;
954
+ schemaName: string;
955
+ name: string;
956
+ objectType: ResolvedRelationType;
957
+ eps: number;
958
+ totalEpsRatio: number;
959
+ tabletCount: number;
960
+ accessedIndexes: AccessedIndexStats[];
961
+ deletedDate?: string;
962
+ }
937
963
  export interface TransformedNodeLoadData {
938
964
  name: string;
939
965
  availabilityZone: string;
@@ -954,6 +980,7 @@ export interface PaFeatureRuntimeConfigs {
954
980
  showTimezoneSelector?: boolean;
955
981
  showAnomalyHighlighting?: boolean;
956
982
  showExplainPlan?: boolean;
983
+ showSchema?: boolean;
957
984
  showPgssRpcStats?: boolean;
958
985
  showQueriesExport?: boolean;
959
986
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yugabytedb/perf-advisor-ui",
3
- "version": "1.0.166",
3
+ "version": "1.0.168",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",