@yugabytedb/perf-advisor-ui 1.0.149 → 1.0.151

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.
@@ -92,8 +92,14 @@ export declare const SQL_DRILLDOWN_BASE_TABS: readonly SqlDrilldownTabConfig[];
92
92
  export declare const SQL_DRILLDOWN_PGSS_RPC_TABS: readonly SqlDrilldownTabConfig[];
93
93
  export declare const unionGraphNamesForTabs: (tabs: readonly SqlDrilldownTabConfig[]) => string[];
94
94
  export declare const CQL_QUERY_REQUEST_GRAPHS: string[];
95
+ export declare const CQL_DRILLDOWN_BASE_TABS: readonly SqlDrilldownTabConfig[];
95
96
  export declare const BACKGROUND_QUERY_REQUEST_GRAPHS: string[];
96
97
  export declare const CATALOG_READ_REQUEST_GRAPH = "ysql_connections_per_sec";
98
+ /** Background-task query id (see backend createBackgroundStats) for the Catalog Read task. */
99
+ export declare const CATALOG_READ_BACKGROUND_QUERY_ID = "5";
100
+ export declare const getBackgroundRequestGraphs: (queryId?: string | null) => string[];
101
+ /** Background drilldown tabs. Background tasks have no PGSS RPC stats, so only Performance Metrics. */
102
+ export declare const getBackgroundDrilldownBaseTabs: (queryId?: string | null) => readonly SqlDrilldownTabConfig[];
97
103
  export declare const DEFAULT_RECORDS_PER_PAGE: number[];
98
104
  export declare const ANOMALY_CATEGORY_LIST: AnomalyCategory[];
99
105
  export declare const GLOBAL_RUNTIME_CONFIG = "00000000-0000-0000-0000-000000000000";
@@ -157,6 +163,7 @@ export declare const DB_TYPE_TAG = "DATABASE TYPE";
157
163
  export declare const DB_TAG = "Database";
158
164
  export declare const USER_TAG = "User";
159
165
  export declare const TABLE_TAG = "TABLE";
166
+ export declare const INDEX_TAG = "INDEX";
160
167
  export declare const TABLET_TAG = "Tablet Id";
161
168
  export declare const TABLET_ID_TAG = "TABLET ID";
162
169
  export declare const ANOMALY_TAG = "ANOMALY";
@@ -491,6 +498,7 @@ export declare const HISTORICAL_QUERY_DATA_LABELS: {
491
498
  UNIVERSE_ID: string;
492
499
  };
493
500
  export declare const ADD_COLUMNS_BUTTON_TEXT = "Add Columns";
501
+ export declare const VIEW_SCHEMA_BUTTON_TEXT = "View schema";
494
502
  export declare const DEFAULT_ERROR_MESSAGES: {
495
503
  UNIVERSE_PA_STATUS_ERROR: string;
496
504
  UNIVERSE_DETAILS_ERROR: string;
@@ -474,6 +474,64 @@ export interface QueryStatsPagedBody {
474
474
  export interface PagedStatsResponse {
475
475
  data: QueryStatsPagedBody;
476
476
  }
477
+ export interface IndexId {
478
+ universeId: string;
479
+ namespaceName: string;
480
+ schemaName: string;
481
+ indexName: string;
482
+ }
483
+ export interface IndexAttribute {
484
+ name?: string;
485
+ definition?: string;
486
+ options?: string;
487
+ }
488
+ export interface IndexResponseMetadata {
489
+ id: IndexId;
490
+ tableName: string;
491
+ tablespaceName?: string;
492
+ indexType?: string;
493
+ definition?: string;
494
+ whereClause?: string;
495
+ primary: boolean;
496
+ constraintIndex: boolean;
497
+ unique: boolean;
498
+ nullNotDistinct: boolean;
499
+ attributes?: IndexAttribute[];
500
+ indexId?: number;
501
+ updated?: string;
502
+ }
503
+ export interface IndexPagedResponse {
504
+ entities: IndexResponseMetadata[];
505
+ hasNext: boolean;
506
+ hasPrev: boolean;
507
+ totalCount: number;
508
+ }
509
+ export interface TableMetadataId {
510
+ universeId: string;
511
+ namespaceName: string;
512
+ schemaName: string;
513
+ tableName: string;
514
+ }
515
+ export interface TableAttribute {
516
+ name: string;
517
+ type?: string;
518
+ }
519
+ export interface TableResponseMetadata {
520
+ id: TableMetadataId;
521
+ tableId?: number;
522
+ definition?: string;
523
+ attributes?: TableAttribute[];
524
+ firstSampleTime?: string;
525
+ lastSampleTime?: string;
526
+ definitionUpdatedAt?: string;
527
+ updated?: string;
528
+ }
529
+ export interface TablePagedResponse {
530
+ entities: TableResponseMetadata[];
531
+ hasNext: boolean;
532
+ hasPrev: boolean;
533
+ totalCount: number;
534
+ }
477
535
  export interface UniverseDatabaseStatsData {
478
536
  connections: number;
479
537
  cpuRatio: number;
@@ -488,7 +546,7 @@ export interface UniverseDatabaseStatsData {
488
546
  cpuThrottledMs?: number;
489
547
  sizeBytes?: number;
490
548
  }
491
- declare enum DatabaseType {
549
+ export declare enum DatabaseType {
492
550
  SQL = "SQL",
493
551
  CQL = "CQL",
494
552
  SYSTEM = "SYSTEM"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yugabytedb/perf-advisor-ui",
3
- "version": "1.0.149",
3
+ "version": "1.0.151",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",