@yugabytedb/perf-advisor-ui 1.0.167 → 1.0.169
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/Header/metadata/TableIndexesModal.d.ts +0 -1
- package/dist/components/Header/metadata/schemaPanels.d.ts +106 -0
- package/dist/components/Header/metadata/useRelationSchema.d.ts +28 -0
- package/dist/components/Header/metadata/useTabletRelation.d.ts +0 -16
- package/dist/components/SecondaryDashboard/DrilldownView/TabletDrilldown.d.ts +3 -2
- package/dist/components/SecondaryDashboard/Metadata/QueriesMetadata.d.ts +3 -2
- package/dist/components/SecondaryDashboard/Metadata/TabletLevelQueryMetadata.d.ts +3 -2
- package/dist/components/SecondaryDashboard/Metadata/TabletMetadata.d.ts +3 -2
- package/dist/components/SecondaryDashboard/ProcessGraphData.d.ts +2 -1
- package/dist/components/SecondaryDashboard/Schema/QuerySchemaTab.d.ts +15 -0
- package/dist/components/SecondaryDashboard/Schema/SchemaColumnHeader.d.ts +7 -0
- package/dist/components/SecondaryDashboard/Schema/SchemaObjectDetailPanel.d.ts +9 -0
- package/dist/components/SecondaryDashboard/Schema/SchemaObjectSidePanel.d.ts +10 -0
- package/dist/components/SecondaryDashboard/Schema/schemaUtils.d.ts +23 -0
- package/dist/components/SecondaryDashboard/Schema/useQuerySchemaObjects.d.ts +22 -0
- package/dist/components/SecondaryDashboard/Schema/useSchemaObjectsUpdatedAt.d.ts +9 -0
- package/dist/esm/index.js +15751 -14797
- package/dist/esm/index.js.map +1 -1
- package/dist/helpers/constants.d.ts +20 -0
- package/dist/helpers/dtos.d.ts +30 -1
- package/dist/helpers/utils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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;
|
package/dist/helpers/dtos.d.ts
CHANGED
|
@@ -205,6 +205,7 @@ export interface TroubleshootingRecommendations {
|
|
|
205
205
|
export interface GraphMetadata {
|
|
206
206
|
name: string;
|
|
207
207
|
filters: GraphFilters;
|
|
208
|
+
excludeFilters?: Partial<GraphFilters>;
|
|
208
209
|
groupBy?: WaitEventClassification[];
|
|
209
210
|
groupByControl: boolean;
|
|
210
211
|
displayName?: string;
|
|
@@ -216,6 +217,7 @@ export interface GraphRequestParams {
|
|
|
216
217
|
end: Date | string;
|
|
217
218
|
name: string;
|
|
218
219
|
filters: GraphFilters;
|
|
220
|
+
excludeFilters?: Partial<GraphFilters>;
|
|
219
221
|
settings: GraphSettings;
|
|
220
222
|
groupBy?: WaitEventClassification[];
|
|
221
223
|
aggregatedLineSettings?: AggregatedLineSettings;
|
|
@@ -611,6 +613,12 @@ export interface ExportConfigData {
|
|
|
611
613
|
collectionEndpoint: string;
|
|
612
614
|
collectionAuth?: ExportAuth | null;
|
|
613
615
|
includeGlobalPaMetrics: boolean;
|
|
616
|
+
/**
|
|
617
|
+
* Sent as the YBM-Account-ID and YBM-Project-ID headers on both endpoints. A BYOC ingest gateway
|
|
618
|
+
* identifies the sender by these rather than by credential; a plain Perf Advisor needs neither.
|
|
619
|
+
*/
|
|
620
|
+
ybmAccountId?: string;
|
|
621
|
+
ybmProjectId?: string;
|
|
614
622
|
}
|
|
615
623
|
export interface RuntimeConfigData {
|
|
616
624
|
description: string;
|
|
@@ -749,7 +757,8 @@ export declare enum TabletTabs {
|
|
|
749
757
|
}
|
|
750
758
|
export declare enum SqlTabs {
|
|
751
759
|
QUERY_OVERVIEW = "Query Overview",
|
|
752
|
-
EXPLAIN_PLAN = "Explain Plan"
|
|
760
|
+
EXPLAIN_PLAN = "Explain Plan",
|
|
761
|
+
SCHEMA = "Schema"
|
|
753
762
|
}
|
|
754
763
|
export declare enum SqlDrilldownTabs {
|
|
755
764
|
PERFORMANCE_METRICS = "Performance Metrics",
|
|
@@ -934,6 +943,25 @@ export interface TransformedTabletsData {
|
|
|
934
943
|
leaderNode: string;
|
|
935
944
|
followerNodes: string[];
|
|
936
945
|
}
|
|
946
|
+
export interface AccessedIndexStats {
|
|
947
|
+
name: string;
|
|
948
|
+
eps: number;
|
|
949
|
+
totalEpsRatio: number;
|
|
950
|
+
tabletCount: number;
|
|
951
|
+
deletedDate?: string;
|
|
952
|
+
}
|
|
953
|
+
export interface SchemaObjectRow {
|
|
954
|
+
key: string;
|
|
955
|
+
databaseName: string;
|
|
956
|
+
schemaName: string;
|
|
957
|
+
name: string;
|
|
958
|
+
objectType: ResolvedRelationType;
|
|
959
|
+
eps: number;
|
|
960
|
+
totalEpsRatio: number;
|
|
961
|
+
tabletCount: number;
|
|
962
|
+
accessedIndexes: AccessedIndexStats[];
|
|
963
|
+
deletedDate?: string;
|
|
964
|
+
}
|
|
937
965
|
export interface TransformedNodeLoadData {
|
|
938
966
|
name: string;
|
|
939
967
|
availabilityZone: string;
|
|
@@ -954,6 +982,7 @@ export interface PaFeatureRuntimeConfigs {
|
|
|
954
982
|
showTimezoneSelector?: boolean;
|
|
955
983
|
showAnomalyHighlighting?: boolean;
|
|
956
984
|
showExplainPlan?: boolean;
|
|
985
|
+
showSchema?: boolean;
|
|
957
986
|
showPgssRpcStats?: boolean;
|
|
958
987
|
showQueriesExport?: boolean;
|
|
959
988
|
}
|
package/dist/helpers/utils.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export declare const getFilteredItems: (zoneToNodesMap: any, isRegionChanged: bo
|
|
|
51
51
|
export declare const filterZoneMapByNodeType: (zoneToNodesMap: Map<string, ZoneMapEntry>, nodeType: NodeType) => Map<string, ZoneMapEntry>;
|
|
52
52
|
export declare const getPrimaryCluster: (clusters: any) => any;
|
|
53
53
|
export declare function getReadOnlyCluster(clusters: any): any;
|
|
54
|
+
export declare const getAnomalyExcludeFilters: (anomalyData?: AnomalyGroup) => Partial<GraphFilters> | undefined;
|
|
54
55
|
export declare const getAnomalyMainGraphRequestParams: (anomalyData: AnomalyGroup) => any[];
|
|
55
56
|
export declare const getGraphRequestParams: (anomalyData: Anomaly) => any[];
|
|
56
57
|
export declare const formatAnomalyMainGraphs: (anomalyData: AnomalyGroup) => {
|