@yugabytedb/perf-advisor-ui 1.0.0 → 1.0.2-9.1
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/cjs/index.css +10 -1
- package/dist/cjs/index.js +1 -22
- package/dist/cjs/index.js.map +1 -1
- package/dist/types.d.ts +244 -25
- package/package.json +6 -4
package/dist/types.d.ts
CHANGED
|
@@ -93,7 +93,8 @@ interface UniverseConfig {
|
|
|
93
93
|
declare enum MetricMeasure {
|
|
94
94
|
OVERALL = "Overall",
|
|
95
95
|
OUTLIER = "Outlier",
|
|
96
|
-
OUTLIER_TABLES = "Outlier_Tables"
|
|
96
|
+
OUTLIER_TABLES = "Outlier_Tables",
|
|
97
|
+
OUTLIER_DB = "Outlier_Databases"
|
|
97
98
|
}
|
|
98
99
|
interface Anomaly {
|
|
99
100
|
uuid: string;
|
|
@@ -152,7 +153,7 @@ interface TroubleshootingRecommendations {
|
|
|
152
153
|
interface GraphMetadata {
|
|
153
154
|
name: string;
|
|
154
155
|
filters: GraphFilters;
|
|
155
|
-
groupBy?:
|
|
156
|
+
groupBy?: WaitEventClassification[];
|
|
156
157
|
groupByControl: boolean;
|
|
157
158
|
displayName?: string;
|
|
158
159
|
aggregatedLineSettings?: AggregatedLineSettings;
|
|
@@ -163,19 +164,24 @@ interface GraphRequestParams {
|
|
|
163
164
|
name: string;
|
|
164
165
|
filters: GraphFilters;
|
|
165
166
|
settings: GraphSettings;
|
|
166
|
-
groupBy?:
|
|
167
|
+
groupBy?: WaitEventClassification[];
|
|
167
168
|
aggregatedLineSettings?: AggregatedLineSettings;
|
|
168
169
|
stepSeconds?: number;
|
|
169
170
|
}
|
|
170
|
-
declare enum
|
|
171
|
+
declare enum WaitEventClassification {
|
|
171
172
|
WAIT_EVENT_COMPONENT = "waitEventComponent",
|
|
172
173
|
WAIT_EVENT_CLASS = "waitEventClass",
|
|
173
174
|
WAIT_EVENT_TYPE = "waitEventType",
|
|
174
175
|
WAIT_EVENT = "waitEvent",
|
|
175
176
|
CLIENT_NODE_IP = "clientNodeIp",
|
|
176
177
|
QUERY_ID = "queryId",
|
|
177
|
-
TABLET_ID = "tabletId"
|
|
178
|
+
TABLET_ID = "tabletId",
|
|
179
|
+
DB_ID = "dbId"
|
|
178
180
|
}
|
|
181
|
+
declare const GroupEventsParam: {
|
|
182
|
+
waitEventType: string;
|
|
183
|
+
waitEvent: string;
|
|
184
|
+
};
|
|
179
185
|
interface AggregatedLineSettings {
|
|
180
186
|
aggregateBy: GraphFilters;
|
|
181
187
|
excludeFiltered: boolean;
|
|
@@ -252,7 +258,8 @@ declare enum AppName {
|
|
|
252
258
|
}
|
|
253
259
|
declare enum QueryType {
|
|
254
260
|
SQL = "SQL",
|
|
255
|
-
CQL = "CQL"
|
|
261
|
+
CQL = "CQL",
|
|
262
|
+
BACKGROUND = "BACKGROUND"
|
|
256
263
|
}
|
|
257
264
|
declare enum GraphType {
|
|
258
265
|
SINGLE_SUPPORTING = "SINGLE_SUPPORTING",
|
|
@@ -262,7 +269,13 @@ declare enum GraphType {
|
|
|
262
269
|
interface QueryWaitEvents {
|
|
263
270
|
eps: number;
|
|
264
271
|
waitEventType: string;
|
|
272
|
+
waitEvent: string;
|
|
265
273
|
}
|
|
274
|
+
declare const WAIT_EVENT_MAPPING: {
|
|
275
|
+
readonly waitEventType: "Wait Event Type";
|
|
276
|
+
readonly waitEvent: "Wait Event";
|
|
277
|
+
};
|
|
278
|
+
declare const GROUP_BY_OPERATIONS: readonly [WaitEventClassification.WAIT_EVENT_TYPE, WaitEventClassification.WAIT_EVENT];
|
|
266
279
|
interface UrlParams {
|
|
267
280
|
queryId: string | undefined;
|
|
268
281
|
startTime?: string | null;
|
|
@@ -271,6 +284,7 @@ interface UrlParams {
|
|
|
271
284
|
dbId?: string | null;
|
|
272
285
|
universeId: string | null;
|
|
273
286
|
userId?: string | null;
|
|
287
|
+
type?: QueryType | null;
|
|
274
288
|
}
|
|
275
289
|
interface MetadataFields {
|
|
276
290
|
id: string;
|
|
@@ -320,6 +334,7 @@ interface QueryPageParams extends TPUrlParams {
|
|
|
320
334
|
queryId?: string | null;
|
|
321
335
|
universeId?: string | null;
|
|
322
336
|
userId?: string | null;
|
|
337
|
+
type: QueryType | null;
|
|
323
338
|
}
|
|
324
339
|
interface TPUrlParams {
|
|
325
340
|
duration?: string | null;
|
|
@@ -381,8 +396,7 @@ interface RowItemClasses$1 {
|
|
|
381
396
|
}
|
|
382
397
|
declare enum TPFeatureFlags {
|
|
383
398
|
SHOW_QUERY_STATS_TIMESTAMP = "showStatsTimestamp",
|
|
384
|
-
SHOW_CLEANUP_HISTORICAL_DATA = "showCleanupHistoricalData"
|
|
385
|
-
SHOW_ADVANCED_VIEW = "showAdvancedView"
|
|
399
|
+
SHOW_CLEANUP_HISTORICAL_DATA = "showCleanupHistoricalData"
|
|
386
400
|
}
|
|
387
401
|
declare enum AnomalyDetectionStatusText {
|
|
388
402
|
EMPTY = "EMPTY",
|
|
@@ -462,7 +476,18 @@ interface AnomalyResponse {
|
|
|
462
476
|
declare enum InsightsTabs {
|
|
463
477
|
ANOMALIES = "Detected Anomalies",
|
|
464
478
|
QUERIES = "Queries",
|
|
465
|
-
METRICS = "Metrics"
|
|
479
|
+
METRICS = "Metrics",
|
|
480
|
+
INSIGHTS = "Insights"
|
|
481
|
+
}
|
|
482
|
+
declare const URL_TAB_PATH: {
|
|
483
|
+
ANOMALIES: string;
|
|
484
|
+
QUERIES: string;
|
|
485
|
+
METRICS: string;
|
|
486
|
+
INSIGHTS: string;
|
|
487
|
+
};
|
|
488
|
+
declare enum AnomalyTypeFilter {
|
|
489
|
+
PERF_ANOMALY = "PERF_ANOMALY",
|
|
490
|
+
INSIGHT = "INSIGHT"
|
|
466
491
|
}
|
|
467
492
|
interface ColumnOptions {
|
|
468
493
|
sort?: boolean;
|
|
@@ -533,6 +558,13 @@ interface PerfAdvisorEntryProps {
|
|
|
533
558
|
}
|
|
534
559
|
declare const PerfAdvisorEntry: ({ timezone, universeUuid, appName, apiUrl, onSelectedIssue, onSelectedQuery }: PerfAdvisorEntryProps) => JSX.Element;
|
|
535
560
|
|
|
561
|
+
interface TroubleshootConfigurationProps {
|
|
562
|
+
apiUrl: string;
|
|
563
|
+
customerUuid: string;
|
|
564
|
+
appName: AppName;
|
|
565
|
+
}
|
|
566
|
+
declare const ConfigureUniverseMetadata: ({ apiUrl, customerUuid, appName }: TroubleshootConfigurationProps) => JSX.Element;
|
|
567
|
+
|
|
536
568
|
interface RuntimeConfigsProps {
|
|
537
569
|
apiUrl: string;
|
|
538
570
|
appName: AppName;
|
|
@@ -602,11 +634,11 @@ declare class ApiService {
|
|
|
602
634
|
fetchSpecificRuntimeConfigs: (scopeUuid: string | undefined, keys: string[], apiUrl?: string) => Promise<string[]>;
|
|
603
635
|
updateRuntimeConfig: (scopeUuid: string | undefined, configKey: string, configValue: string, apiUrl?: string) => Promise<any>;
|
|
604
636
|
deleteRuntimeConfig: (scopeUuid: string | undefined, configKey: string, apiUrl?: string) => Promise<any>;
|
|
605
|
-
fetchAnomalyGroups: (universeUuid: string, startTime: string | null, endTime: string | null, apiUrl?: string) => {};
|
|
637
|
+
fetchAnomalyGroups: (universeUuid: string, startTime: string | null, endTime: string | null, apiUrl?: string, anomalyType?: string) => {};
|
|
606
638
|
fetchAnomalyGroupsByType: (universeUuid: string, startTime: string, endTime: string, anomalyType: string, apiUrl?: string) => Promise<AnomalyGroup[]>;
|
|
607
639
|
fetchAnomalyGroupById: (universeUuid: string, anomalyGroupId: string, startTime: string, endTime: string, apiUrl?: string) => {};
|
|
608
640
|
}
|
|
609
|
-
declare const
|
|
641
|
+
declare const PerfAdvisorAPI: ApiService;
|
|
610
642
|
|
|
611
643
|
type MUIButtonProps = ButtonProps & Partial<LinkProps>;
|
|
612
644
|
interface YBButtonProps extends Omit<MUIButtonProps, 'variant' | 'color' | 'classes'> {
|
|
@@ -617,16 +649,20 @@ interface YBButtonProps extends Omit<MUIButtonProps, 'variant' | 'color' | 'clas
|
|
|
617
649
|
declare const YBButton: FC<YBButtonProps>;
|
|
618
650
|
|
|
619
651
|
interface CodeBlockProps$1 {
|
|
620
|
-
analyticsEventOnCopy?: string;
|
|
621
|
-
analyticsEventProps?: Record<string, string>;
|
|
622
652
|
showCopyButton?: boolean;
|
|
623
653
|
multiBlock?: boolean;
|
|
624
654
|
codeClassName?: string;
|
|
625
655
|
preClassName?: string;
|
|
626
|
-
lang?:
|
|
656
|
+
lang?: string;
|
|
627
657
|
containerClassName?: string;
|
|
628
658
|
text: string | string[] | React$1.ReactElement | React$1.ReactElement[];
|
|
629
659
|
dataTestId?: string;
|
|
660
|
+
enabledExpandCollapse?: boolean;
|
|
661
|
+
collapseHeight?: number;
|
|
662
|
+
copyLabel?: string;
|
|
663
|
+
showAllLabel?: string;
|
|
664
|
+
collapseLabel?: string;
|
|
665
|
+
onCopySuccess?: () => void;
|
|
630
666
|
}
|
|
631
667
|
declare const YBCodeBlock: FC<CodeBlockProps$1>;
|
|
632
668
|
|
|
@@ -643,10 +679,11 @@ interface CodeBlockProps {
|
|
|
643
679
|
enabledExpandCollapse?: boolean;
|
|
644
680
|
showExpandCollapse?: boolean;
|
|
645
681
|
collapseHeight?: number;
|
|
682
|
+
appName: AppName;
|
|
646
683
|
}
|
|
647
684
|
declare const YBCodeBlockCopy: FC<CodeBlockProps>;
|
|
648
685
|
|
|
649
|
-
declare const useCodeBlockStyles: (props?: any) => _material_ui_core_styles_withStyles.ClassNameMap<"searchBox" | "refreshBtn" | "tableHeaderCell" | "rowTableCell" | "tableContainer" | "tableRow" | "queryTableRow" | "queryTableCell" | "queryPreBlock" | "queryCodeElement" | "queryContainerCode" | "defaultActions" | "overrideExpandBtn">;
|
|
686
|
+
declare const useCodeBlockStyles: (props?: any) => _material_ui_core_styles_withStyles.ClassNameMap<"searchBox" | "refreshBtn" | "codeBlock" | "codeBlockSqlView" | "tableHeaderCell" | "rowTableCell" | "tableContainer" | "tableRow" | "queryTableRow" | "queryTableCell" | "queryPreBlock" | "queryCodeElement" | "queryContainerCode" | "defaultActions" | "overrideExpandBtn">;
|
|
650
687
|
|
|
651
688
|
interface YBErrorIndicatorProps {
|
|
652
689
|
type?: string;
|
|
@@ -887,6 +924,9 @@ declare const ALL_REGIONS = "All Regions and Clusters";
|
|
|
887
924
|
declare const ALL = "All";
|
|
888
925
|
declare const ALL_ZONES = "All Zones and Nodes";
|
|
889
926
|
declare const ASH = "ASH";
|
|
927
|
+
declare const TYPE = "type";
|
|
928
|
+
declare const CORES = "Cores";
|
|
929
|
+
declare const QUERIES = "Queries";
|
|
890
930
|
declare const MIN_OUTLIER_NUM_NODES = 3;
|
|
891
931
|
declare const MAX_OUTLIER_NUM_NODES = 10;
|
|
892
932
|
declare const METRIC_FONT = "Inter";
|
|
@@ -896,6 +936,10 @@ declare const MetricConsts: {
|
|
|
896
936
|
readonly TOP: "top";
|
|
897
937
|
readonly PRIMARY: "PRIMARY";
|
|
898
938
|
};
|
|
939
|
+
declare const ACTIVE_SESSION_HISTORY_EPS_GLOBAL = "active_session_history_eps_global";
|
|
940
|
+
declare const ACTIVE_SESSION_HISTORY_QUERY_EVENTS = "active_session_history_query_events";
|
|
941
|
+
declare const ACTIVE_SESSION_HISOTRY_EPS_CLIENT_NODE = "active_session_history_eps_client_node";
|
|
942
|
+
declare const CPU_COUNT = "cpu_count";
|
|
899
943
|
declare const metricSplitSelectors: readonly [{
|
|
900
944
|
readonly value: MetricMeasure.OVERALL;
|
|
901
945
|
readonly label: "Overall";
|
|
@@ -906,6 +950,17 @@ declare const metricSplitSelectors: readonly [{
|
|
|
906
950
|
}, {
|
|
907
951
|
readonly value: MetricMeasure.OUTLIER_TABLES;
|
|
908
952
|
readonly label: "Outlier Tables";
|
|
953
|
+
}, {
|
|
954
|
+
readonly value: MetricMeasure.OUTLIER_DB;
|
|
955
|
+
readonly label: "Outlier Databases";
|
|
956
|
+
}];
|
|
957
|
+
declare const otherSplitSelectors: readonly [{
|
|
958
|
+
readonly value: MetricMeasure.OVERALL;
|
|
959
|
+
readonly label: "Overall";
|
|
960
|
+
}, {
|
|
961
|
+
readonly value: MetricMeasure.OUTLIER;
|
|
962
|
+
readonly label: "Outlier Nodes";
|
|
963
|
+
readonly k8label: "Outlier Pods";
|
|
909
964
|
}];
|
|
910
965
|
declare const metricOutlierSelectors: readonly [{
|
|
911
966
|
readonly value: "TOP";
|
|
@@ -915,9 +970,10 @@ declare const metricOutlierSelectors: readonly [{
|
|
|
915
970
|
readonly label: "Bottom";
|
|
916
971
|
}];
|
|
917
972
|
declare const TABLE_REQUEST_GRAPHS: string[];
|
|
918
|
-
declare const
|
|
973
|
+
declare const SQL_QUERY_REQUEST_GRAPHS: string[];
|
|
919
974
|
declare const CQL_QUERY_REQUEST_GRAPHS: string[];
|
|
920
|
-
declare const
|
|
975
|
+
declare const BACKGROUND_QUERY_REQUEST_GRAPHS: string[];
|
|
976
|
+
declare const CATALOG_READ_REQUEST_GRAPH = "ysql_connections_per_sec";
|
|
921
977
|
declare const ASH_GROUPBY_VALUES: {
|
|
922
978
|
WAIT_EVENT_COMPONENT: string;
|
|
923
979
|
WAIT_EVENT_CLASS: string;
|
|
@@ -930,7 +986,6 @@ declare const DEFAULT_RECORDS_PER_PAGE: number[];
|
|
|
930
986
|
declare const ANOMALY_CATEGORY_LIST: AnomalyCategory[];
|
|
931
987
|
declare const GLOBAL_RUNTIME_CONFIG = "00000000-0000-0000-0000-000000000000";
|
|
932
988
|
declare const RUNTIME_CONFIG_KEYS: {
|
|
933
|
-
SHOW_ADVANCED_VIEW: string;
|
|
934
989
|
SHOW_CLEANUP_HISTORICAL_DATA: string;
|
|
935
990
|
SHOW_QUERIES_VIEW: string;
|
|
936
991
|
SHOW_TOPK_METRICS_VIEW: string;
|
|
@@ -938,10 +993,11 @@ declare const RUNTIME_CONFIG_KEYS: {
|
|
|
938
993
|
declare const ANOMALY_TYPE_TO_NAME_MAP: Record<string, string>;
|
|
939
994
|
declare const MORE = "MORE";
|
|
940
995
|
declare const ELLIPSIS = "...";
|
|
996
|
+
declare const VIEW_MORE = "View More";
|
|
941
997
|
declare const TIME_FILTER_LABEL: {
|
|
942
998
|
readonly ONE_HOUR: "Last 1 hour";
|
|
943
999
|
readonly SIX_HOURS: "Last 6 hours";
|
|
944
|
-
readonly
|
|
1000
|
+
readonly ONE_DAY: "Last 1 day";
|
|
945
1001
|
readonly TWO_DAYS: "Last 2 days";
|
|
946
1002
|
readonly SEVEN_DAYS: "Last 7 days";
|
|
947
1003
|
readonly CUSTOM: "Custom";
|
|
@@ -949,20 +1005,20 @@ declare const TIME_FILTER_LABEL: {
|
|
|
949
1005
|
declare const TIME_FILTER_VALUES: {
|
|
950
1006
|
readonly ONE_HOUR: "1h";
|
|
951
1007
|
readonly SIX_HOURS: "6h";
|
|
952
|
-
readonly
|
|
1008
|
+
readonly ONE_DAY: "1d";
|
|
953
1009
|
readonly TWO_DAYS: "2d";
|
|
954
1010
|
readonly SEVEN_DAYS: "7d";
|
|
955
1011
|
readonly CUSTOM: "Custom";
|
|
956
1012
|
};
|
|
957
1013
|
declare const ANOMALY_FILTER_DURATION_OPTIONS: readonly [{
|
|
958
|
-
readonly label: "Last
|
|
959
|
-
readonly value: "
|
|
1014
|
+
readonly label: "Last 1 hour";
|
|
1015
|
+
readonly value: "1h";
|
|
960
1016
|
}, {
|
|
961
1017
|
readonly label: "Last 6 hours";
|
|
962
1018
|
readonly value: "6h";
|
|
963
1019
|
}, {
|
|
964
|
-
readonly label: "Last 1
|
|
965
|
-
readonly value: "
|
|
1020
|
+
readonly label: "Last 1 day";
|
|
1021
|
+
readonly value: "1d";
|
|
966
1022
|
}, {
|
|
967
1023
|
readonly label: "Last 2 days";
|
|
968
1024
|
readonly value: "2d";
|
|
@@ -993,11 +1049,17 @@ declare const MetricOrigin: {
|
|
|
993
1049
|
};
|
|
994
1050
|
declare const METRIC_TABS: readonly ["ysql_ops", "ycql_ops", "server", "per_process", "disk_io", "tserver", "master", "master_advanced", "lsmdb"];
|
|
995
1051
|
declare const METRIC_TABS_TABLES: string[];
|
|
1052
|
+
declare const METRIC_TABS_DATABASES: string[];
|
|
996
1053
|
declare const METRIC_TABLES_RESOURCES_WITH_GRAPHS: {
|
|
997
1054
|
title: string;
|
|
998
1055
|
name: string;
|
|
999
1056
|
metrics: string[];
|
|
1000
1057
|
}[];
|
|
1058
|
+
declare const METRIC_DB_RESOURCES_WITH_GRAPHS: {
|
|
1059
|
+
title: string;
|
|
1060
|
+
name: string;
|
|
1061
|
+
metrics: string[];
|
|
1062
|
+
}[];
|
|
1001
1063
|
declare const METRIC_RESOURCES_WITH_GRAPHS: readonly [{
|
|
1002
1064
|
readonly title: "YSQL";
|
|
1003
1065
|
readonly name: "ysql_ops";
|
|
@@ -1035,6 +1097,163 @@ declare const METRIC_RESOURCES_WITH_GRAPHS: readonly [{
|
|
|
1035
1097
|
readonly name: "lsmdb";
|
|
1036
1098
|
readonly metrics: readonly ["lsm_rocksdb_seek_next_prev", "lsm_rocksdb_total_sst_per_node", "lsm_rocksdb_avg_num_sst_per_node", "lsm_rocksdb_latencies_get", "lsm_rocksdb_latencies_write", "lsm_rocksdb_latencies_seek", "lsm_rocksdb_latencies_mutex", "lsm_rocksdb_block_cache_hit_miss", "lsm_rocksdb_block_cache_usage", "lsm_rocksdb_blooms_checked_and_useful", "lsm_rocksdb_stalls", "lsm_rocksdb_write_rejections", "lsm_rocksdb_memory_rejections", "lsm_rocksdb_flush_size", "lsm_rocksdb_compaction", "lsm_rocksdb_compaction_tasks", "lsm_rocksdb_compaction_time", "lsm_rocksdb_compaction_numfiles", "lsm_rocksdb_mem_tracker_db_memtable", "docdb_transaction", "docdb_transaction_pool_cache", "tablet_splitting_stats", "automatic_split_manager_time"];
|
|
1037
1099
|
}];
|
|
1100
|
+
declare const RCA_GANT_CHART = "gant-chart-anomalies";
|
|
1101
|
+
declare const METRIC_NAMES: {
|
|
1102
|
+
ysql_server_rpc_per_second: string;
|
|
1103
|
+
ysql_sql_latency: string;
|
|
1104
|
+
ysql_connections: string;
|
|
1105
|
+
ysql_connections_per_sec: string;
|
|
1106
|
+
ysql_server_advanced_rpc_per_second: string;
|
|
1107
|
+
ysql_sql_advanced_latency: string;
|
|
1108
|
+
ysql_catalog_cache_misses: string;
|
|
1109
|
+
ysql_conn_mgr_active_connections: string;
|
|
1110
|
+
cql_server_rpc_per_second: string;
|
|
1111
|
+
cql_sql_latency: string;
|
|
1112
|
+
cql_server_rpc_p99: string;
|
|
1113
|
+
cql_sql_latency_breakdown: string;
|
|
1114
|
+
cql_yb_local_vs_remote: string;
|
|
1115
|
+
cql_yb_latency: string;
|
|
1116
|
+
cql_reactor_latency: string;
|
|
1117
|
+
tserver_rpc_queue_size_cql: string;
|
|
1118
|
+
response_sizes: string;
|
|
1119
|
+
cql_yb_transaction: string;
|
|
1120
|
+
cql_yb_rpc_connections: string;
|
|
1121
|
+
cpu_usage: string;
|
|
1122
|
+
memory_usage: string;
|
|
1123
|
+
disk_iops: string;
|
|
1124
|
+
disk_usage_percent: string;
|
|
1125
|
+
disk_used_size_total: string;
|
|
1126
|
+
disk_volume_usage_percent: string;
|
|
1127
|
+
disk_volume_used: string;
|
|
1128
|
+
disk_bytes_per_second_per_node: string;
|
|
1129
|
+
disk_io_time: string;
|
|
1130
|
+
disk_io_queue_depth: string;
|
|
1131
|
+
disk_io_read_latency: string;
|
|
1132
|
+
disk_io_write_latency: string;
|
|
1133
|
+
network_packets: string;
|
|
1134
|
+
network_bytes: string;
|
|
1135
|
+
network_errors: string;
|
|
1136
|
+
system_load_over_time: string;
|
|
1137
|
+
node_clock_skew: string;
|
|
1138
|
+
process_user_cpu_seconds: string;
|
|
1139
|
+
process_system_cpu_seconds: string;
|
|
1140
|
+
process_virtual_memory: string;
|
|
1141
|
+
process_resident_memory: string;
|
|
1142
|
+
process_proportional_memory: string;
|
|
1143
|
+
process_io_read: string;
|
|
1144
|
+
process_io_write: string;
|
|
1145
|
+
process_open_files: string;
|
|
1146
|
+
tserver_rpcs_per_sec_per_node: string;
|
|
1147
|
+
tserver_ops_latency: string;
|
|
1148
|
+
tserver_handler_latency: string;
|
|
1149
|
+
tserver_threads_running: string;
|
|
1150
|
+
tserver_threads_started: string;
|
|
1151
|
+
tserver_uptime_min: string;
|
|
1152
|
+
tserver_consensus_rpcs_per_sec: string;
|
|
1153
|
+
tserver_change_config: string;
|
|
1154
|
+
tserver_remote_bootstraps: string;
|
|
1155
|
+
tserver_consensus_rpcs_latency: string;
|
|
1156
|
+
tserver_change_config_latency: string;
|
|
1157
|
+
tserver_context_switches: string;
|
|
1158
|
+
tserver_spinlock_server: string;
|
|
1159
|
+
tserver_log_latency: string;
|
|
1160
|
+
tserver_log_bytes_written: string;
|
|
1161
|
+
tserver_log_bytes_read: string;
|
|
1162
|
+
tserver_log_ops_second: string;
|
|
1163
|
+
tserver_write_lock_latency: string;
|
|
1164
|
+
tserver_tc_malloc_stats: string;
|
|
1165
|
+
tserver_log_stats: string;
|
|
1166
|
+
tserver_cache_reader_num_ops: string;
|
|
1167
|
+
tserver_glog_info_messages: string;
|
|
1168
|
+
tserver_rpc_queue_size_tserver: string;
|
|
1169
|
+
tserver_cpu_util_secs: string;
|
|
1170
|
+
tserver_yb_rpc_connections: string;
|
|
1171
|
+
tserver_live_tablet_peers: string;
|
|
1172
|
+
raft_leader: string;
|
|
1173
|
+
tserver_max_follower_lag: string;
|
|
1174
|
+
master_overall_rpc_rate: string;
|
|
1175
|
+
master_latency: string;
|
|
1176
|
+
master_uptime_min: string;
|
|
1177
|
+
master_get_tablet_location: string;
|
|
1178
|
+
master_tsservice_reads: string;
|
|
1179
|
+
master_tsservice_reads_latency: string;
|
|
1180
|
+
master_tsservice_writes: string;
|
|
1181
|
+
master_tsservice_writes_latency: string;
|
|
1182
|
+
master_ts_heartbeats: string;
|
|
1183
|
+
tserver_rpc_queue_size_master: string;
|
|
1184
|
+
master_consensus_update: string;
|
|
1185
|
+
master_consensus_update_latency: string;
|
|
1186
|
+
master_multiraft_consensus_update: string;
|
|
1187
|
+
master_multiraft_consensus_update_latency: string;
|
|
1188
|
+
master_table_ops: string;
|
|
1189
|
+
master_cpu_util_secs: string;
|
|
1190
|
+
master_yb_rpc_connections: string;
|
|
1191
|
+
master_leaderless_and_underreplicated_tablets: string;
|
|
1192
|
+
master_max_follower_lag: string;
|
|
1193
|
+
master_load_balancer_stats: string;
|
|
1194
|
+
master_threads_running: string;
|
|
1195
|
+
master_log_latency: string;
|
|
1196
|
+
master_log_bytes_written: string;
|
|
1197
|
+
master_log_bytes_read: string;
|
|
1198
|
+
master_tc_malloc_stats: string;
|
|
1199
|
+
master_glog_info_messages: string;
|
|
1200
|
+
master_lsm_rocksdb_seek_next_prev: string;
|
|
1201
|
+
master_lsm_rocksdb_num_seeks_per_node: string;
|
|
1202
|
+
master_lsm_rocksdb_total_sst_per_node: string;
|
|
1203
|
+
master_lsm_rocksdb_avg_num_sst_per_node: string;
|
|
1204
|
+
master_lsm_rocksdb_block_cache_hit_miss: string;
|
|
1205
|
+
master_lsm_rocksdb_block_cache_usage: string;
|
|
1206
|
+
master_lsm_rocksdb_blooms_checked_and_useful: string;
|
|
1207
|
+
master_lsm_rocksdb_flush_size: string;
|
|
1208
|
+
master_lsm_rocksdb_compaction: string;
|
|
1209
|
+
master_lsm_rocksdb_compaction_numfiles: string;
|
|
1210
|
+
master_lsm_rocksdb_compaction_time: string;
|
|
1211
|
+
lsm_rocksdb_seek_next_prev: string;
|
|
1212
|
+
lsm_rocksdb_total_sst_per_node: string;
|
|
1213
|
+
lsm_rocksdb_avg_num_sst_per_node: string;
|
|
1214
|
+
lsm_rocksdb_latencies_get: string;
|
|
1215
|
+
lsm_rocksdb_latencies_write: string;
|
|
1216
|
+
lsm_rocksdb_latencies_seek: string;
|
|
1217
|
+
lsm_rocksdb_latencies_mutex: string;
|
|
1218
|
+
lsm_rocksdb_block_cache_hit_miss: string;
|
|
1219
|
+
lsm_rocksdb_block_cache_usage: string;
|
|
1220
|
+
lsm_rocksdb_blooms_checked_and_useful: string;
|
|
1221
|
+
lsm_rocksdb_stalls: string;
|
|
1222
|
+
lsm_rocksdb_write_rejections: string;
|
|
1223
|
+
lsm_rocksdb_memory_rejections: string;
|
|
1224
|
+
lsm_rocksdb_flush_size: string;
|
|
1225
|
+
lsm_rocksdb_compaction: string;
|
|
1226
|
+
lsm_rocksdb_compaction_tasks: string;
|
|
1227
|
+
lsm_rocksdb_compaction_time: string;
|
|
1228
|
+
lsm_rocksdb_compaction_numfiles: string;
|
|
1229
|
+
lsm_rocksdb_mem_tracker_db_memtable: string;
|
|
1230
|
+
docdb_transaction: string;
|
|
1231
|
+
docdb_transaction_pool_cache: string;
|
|
1232
|
+
tablet_splitting_stats: string;
|
|
1233
|
+
automatic_split_manager_time: string;
|
|
1234
|
+
table_read_latency: string;
|
|
1235
|
+
table_read_rps: string;
|
|
1236
|
+
table_write_latency: string;
|
|
1237
|
+
table_write_rps: string;
|
|
1238
|
+
table_log_latency: string;
|
|
1239
|
+
table_log_ops_second: string;
|
|
1240
|
+
table_log_bytes_written: string;
|
|
1241
|
+
table_write_lock_latency: string;
|
|
1242
|
+
table_seek_next_prev: string;
|
|
1243
|
+
table_ops_in_flight: string;
|
|
1244
|
+
table_write_rejections: string;
|
|
1245
|
+
table_memory_rejections: string;
|
|
1246
|
+
table_compaction: string;
|
|
1247
|
+
table_block_cache_hit_miss: string;
|
|
1248
|
+
table_mem_tracker_db_memtable: string;
|
|
1249
|
+
};
|
|
1250
|
+
declare const METRICS_SESSION_STORAGE_KEY = "METRICS_NAMES";
|
|
1251
|
+
declare const METRICS_OUTLIER_TABLES_STORAGE_KEY = "METRICS_OUTLIER_TABLES_NAMES";
|
|
1252
|
+
declare const METRICS_OUTLIER_DATABASES_STORAGE_KEY = "METRICS_OUTLIER_DATABASES_NAMES";
|
|
1253
|
+
declare const COLORS: string[];
|
|
1254
|
+
declare const NAME_COLOR_MAPPING: {
|
|
1255
|
+
[key: string]: string;
|
|
1256
|
+
};
|
|
1038
1257
|
|
|
1039
1258
|
declare function isDefinedNotNull(obj: any): boolean;
|
|
1040
1259
|
declare function isEmptyArray(arr: any): boolean;
|
|
@@ -1050,4 +1269,4 @@ declare function isYAxisGreaterThanThousand(dataArray: any): boolean;
|
|
|
1050
1269
|
declare function divideYAxisByThousand(dataArray: any): any;
|
|
1051
1270
|
declare function timeFormatXAxis(dataArray: any, timezone: string | undefined): any;
|
|
1052
1271
|
|
|
1053
|
-
export { ALL, ALL_REGIONS, ALL_ZONES, ANOMALY_CATEGORY_LIST, ANOMALY_FILTER_DURATION_OPTIONS, ANOMALY_TAG, ANOMALY_TYPE_TO_NAME_MAP, ASH, ASH_GROUPBY_VALUES, AggregatedLineSettings, Aggregation, AlertVariant, Anomaly, AnomalyCategory, AnomalyDetails, AnomalyDetectionStatus, AnomalyDetectionStatusText, AnomalyGroup, AnomalyInstance, AnomalyResponse, AnomalyType, AppName, AttachUniversePayload, AuthDetails, CATEGORY_HEADER_DATA_MAP, CQL_QUERY_REQUEST_GRAPHS, ClusterLoadResponseData, ClusterNodeInfo, ClusterNodeListMetadata, ClusterRegionSelector, Column, ColumnOptions, DB_TAG, DEFAULT_RECORDS_PER_PAGE, ELLIPSIS, FormattedAnomalyRca, GLOBAL_RUNTIME_CONFIG, GenericFailure, GraphAxisData, GraphFilters,
|
|
1272
|
+
export { ACTIVE_SESSION_HISOTRY_EPS_CLIENT_NODE, ACTIVE_SESSION_HISTORY_EPS_GLOBAL, ACTIVE_SESSION_HISTORY_QUERY_EVENTS, ALL, ALL_REGIONS, ALL_ZONES, ANOMALY_CATEGORY_LIST, ANOMALY_FILTER_DURATION_OPTIONS, ANOMALY_TAG, ANOMALY_TYPE_TO_NAME_MAP, ASH, ASH_GROUPBY_VALUES, AggregatedLineSettings, Aggregation, AlertVariant, Anomaly, AnomalyCategory, AnomalyDetails, AnomalyDetectionStatus, AnomalyDetectionStatusText, AnomalyGroup, AnomalyInstance, AnomalyResponse, AnomalyType, AnomalyTypeFilter, AppName, AttachUniversePayload, AuthDetails, BACKGROUND_QUERY_REQUEST_GRAPHS, CATALOG_READ_REQUEST_GRAPH, CATEGORY_HEADER_DATA_MAP, COLORS, CORES, CPU_COUNT, CQL_QUERY_REQUEST_GRAPHS, ClusterLoadResponseData, ClusterNodeInfo, ClusterNodeListMetadata, ClusterRegionSelector, Column, ColumnOptions, ConfigureUniverseMetadata, DB_TAG, DEFAULT_RECORDS_PER_PAGE, ELLIPSIS, FormattedAnomalyRca, GLOBAL_RUNTIME_CONFIG, GROUP_BY_OPERATIONS, GenericFailure, GraphAxisData, GraphFilters, GraphMetadata, GraphRequestParams, GraphResponse, GraphSettings, GraphType, GroupEventsParam, IN_DEVELOPMENT_MODE, InsightsTabs, MAX_OUTLIER_NUM_NODES, METRICS_OUTLIER_DATABASES_STORAGE_KEY, METRICS_OUTLIER_TABLES_STORAGE_KEY, METRICS_SESSION_STORAGE_KEY, METRIC_DB_RESOURCES_WITH_GRAPHS, METRIC_FONT, METRIC_NAMES, METRIC_RESOURCES_WITH_GRAPHS, METRIC_TABLES_RESOURCES_WITH_GRAPHS, METRIC_TABS, METRIC_TABS_DATABASES, METRIC_TABS_TABLES, MIN_OUTLIER_NUM_NODES, MORE, MetadataFields, MetricConsts, MetricMeasure, MetricOrigin, MetricSplitSelector, MetricsAnalysisEntry, MetricsAnalysisEntryProps, NAME_COLOR_MAPPING, NodeData, NodeDataCloudInfo, NodeDataMetrics, NodeDetails, NodeInfo, NodeState, OutlierSelector, PerfAdvisorAPI, PerfAdvisorEntry, PrimaryDashboardViewTabs, QUERIES, QUERY_DETAILS, QUERY_KEY, QueryPageParams, QueryType, QueryWaitEvents, RCAGuideline, RCA_GANT_CHART, REACT_APP_API_URL, REGION_TAG, RUNTIME_CONFIG_KEYS, Resources, RowItemClasses$1 as RowItemClasses, RuntimeConfigData, RuntimeConfigType, RuntimeConfigs, SQL_QUERY_REQUEST_GRAPHS, SortDirection, SplitMode, SplitType, TABLET_TAG, TABLE_REQUEST_GRAPHS, TABLE_TAG, TIME_FILTER_LABEL, TIME_FILTER_VALUES, TPFeatureFlags, TPUrlParams, TYPE, TableInfo, TablePageParams, TroubleshootingRecommendations, URL_TAB_PATH, USER_TAG, Universe, UniverseConfig, UniverseMetadataFields, UniverseQueryData, UniverseQueryStatsData, UpdateMetadataFormFields, UpdateRuntimeConfigFormFields, UrlParams, VIEW_MORE, WAIT_EVENT_MAPPING, WaitEventClassification, YBAlert, YBButton, YBCheckbox, YBCheckboxField, YBCodeBlock, YBCodeBlockCopy, YBDateTimePicker, YBErrorIndicator, YBInfinitePagination, YBInput, YBInputField, YBLabel, YBModal, YBPagination, YBPanelItem, YBSelect, YBTable, YBToggle, YBToggleField, YBTooltip, ZONE_TAG, ZoneNodeSelector, divideYAxisByThousand, filterDurations, getCustomFooterComponent, getRowCellComponent, isDefinedNotNull, isEmptyArray, isEmptyObject, isEmptyString, isNonEmptyArray, isNonEmptyObject, isNonEmptyString, isNullOrEmpty, isValidObject, isYAxisGreaterThanThousand, metricOutlierSelectors, metricSplitSelectors, otherSplitSelectors, removeNullProperties, timeFormatXAxis, useCodeBlockStyles };
|
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.29.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"types": "dist/types.d.ts",
|
|
6
6
|
"author": "Rajagopalan Madhavan",
|
|
@@ -56,13 +56,12 @@
|
|
|
56
56
|
"react": "17.0.2",
|
|
57
57
|
"react-dom": "17.0.2",
|
|
58
58
|
"react-hook-form": "7.40.0",
|
|
59
|
-
"react-i18next": "12.2.0",
|
|
60
59
|
"react-query": "3.32.1",
|
|
61
60
|
"react-router": "3.2.6",
|
|
62
61
|
"react-router-dom": "5.3.3",
|
|
63
62
|
"react-toastify": "7.0.3",
|
|
64
63
|
"typescript": "4.9.3",
|
|
65
|
-
"vis-timeline": "
|
|
64
|
+
"vis-timeline": "7.7.3",
|
|
66
65
|
"web-vitals": "2.1.4"
|
|
67
66
|
},
|
|
68
67
|
"prettier": {
|
|
@@ -74,9 +73,11 @@
|
|
|
74
73
|
"@material-ui/core": "4.12.3",
|
|
75
74
|
"@material-ui/icons": "4.11.2",
|
|
76
75
|
"@material-ui/lab": "4.0.0-alpha.58",
|
|
76
|
+
"mui-datatables": "3.8.5",
|
|
77
77
|
"react": "17.0.2",
|
|
78
78
|
"react-dom": "17.0.2",
|
|
79
|
-
"react-query": "3.32.1"
|
|
79
|
+
"react-query": "3.32.1",
|
|
80
|
+
"vis-timeline": "7.7.3"
|
|
80
81
|
},
|
|
81
82
|
"scripts": {
|
|
82
83
|
"start": "rollup start",
|
|
@@ -85,6 +86,7 @@
|
|
|
85
86
|
"changelog": "standard-version",
|
|
86
87
|
"release": "npm install && npm run build && npm publish"
|
|
87
88
|
},
|
|
89
|
+
"sideEffects": false,
|
|
88
90
|
"eslintConfig": {
|
|
89
91
|
"extends": [
|
|
90
92
|
"react-app",
|