@yugabytedb/perf-advisor-ui 1.0.2 → 1.0.3-4.1amal

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/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;
@@ -174,8 +175,13 @@ declare enum WaitEventClassification {
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",
@@ -544,6 +558,13 @@ interface PerfAdvisorEntryProps {
544
558
  }
545
559
  declare const PerfAdvisorEntry: ({ timezone, universeUuid, appName, apiUrl, onSelectedIssue, onSelectedQuery }: PerfAdvisorEntryProps) => JSX.Element;
546
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
+
547
568
  interface RuntimeConfigsProps {
548
569
  apiUrl: string;
549
570
  appName: AppName;
@@ -617,7 +638,7 @@ declare class ApiService {
617
638
  fetchAnomalyGroupsByType: (universeUuid: string, startTime: string, endTime: string, anomalyType: string, apiUrl?: string) => Promise<AnomalyGroup[]>;
618
639
  fetchAnomalyGroupById: (universeUuid: string, anomalyGroupId: string, startTime: string, endTime: string, apiUrl?: string) => {};
619
640
  }
620
- declare const TroubleshootAPI: ApiService;
641
+ declare const PerfAdvisorAPI: ApiService;
621
642
 
622
643
  type MUIButtonProps = ButtonProps & Partial<LinkProps>;
623
644
  interface YBButtonProps extends Omit<MUIButtonProps, 'variant' | 'color' | 'classes'> {
@@ -628,16 +649,20 @@ interface YBButtonProps extends Omit<MUIButtonProps, 'variant' | 'color' | 'clas
628
649
  declare const YBButton: FC<YBButtonProps>;
629
650
 
630
651
  interface CodeBlockProps$1 {
631
- analyticsEventOnCopy?: string;
632
- analyticsEventProps?: Record<string, string>;
633
652
  showCopyButton?: boolean;
634
653
  multiBlock?: boolean;
635
654
  codeClassName?: string;
636
655
  preClassName?: string;
637
- lang?: 'sql' | 'plaintext';
656
+ lang?: string;
638
657
  containerClassName?: string;
639
658
  text: string | string[] | React$1.ReactElement | React$1.ReactElement[];
640
659
  dataTestId?: string;
660
+ enabledExpandCollapse?: boolean;
661
+ collapseHeight?: number;
662
+ copyLabel?: string;
663
+ showAllLabel?: string;
664
+ collapseLabel?: string;
665
+ onCopySuccess?: () => void;
641
666
  }
642
667
  declare const YBCodeBlock: FC<CodeBlockProps$1>;
643
668
 
@@ -654,10 +679,11 @@ interface CodeBlockProps {
654
679
  enabledExpandCollapse?: boolean;
655
680
  showExpandCollapse?: boolean;
656
681
  collapseHeight?: number;
682
+ appName: AppName;
657
683
  }
658
684
  declare const YBCodeBlockCopy: FC<CodeBlockProps>;
659
685
 
660
- 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<"codeClassName" | "preClassName" | "containerClassName" | "searchBox" | "refreshBtn" | "codeBlock" | "codeBlockSqlView" | "tableHeaderCell" | "rowTableCell" | "tableContainer" | "tableRow" | "queryTableRow" | "queryTableCell" | "queryPreBlock" | "queryCodeElement" | "queryContainerCode" | "defaultActions" | "overrideExpandBtn">;
661
687
 
662
688
  interface YBErrorIndicatorProps {
663
689
  type?: string;
@@ -898,6 +924,9 @@ declare const ALL_REGIONS = "All Regions and Clusters";
898
924
  declare const ALL = "All";
899
925
  declare const ALL_ZONES = "All Zones and Nodes";
900
926
  declare const ASH = "ASH";
927
+ declare const TYPE = "type";
928
+ declare const CORES = "Cores";
929
+ declare const QUERIES = "Queries";
901
930
  declare const MIN_OUTLIER_NUM_NODES = 3;
902
931
  declare const MAX_OUTLIER_NUM_NODES = 10;
903
932
  declare const METRIC_FONT = "Inter";
@@ -907,6 +936,10 @@ declare const MetricConsts: {
907
936
  readonly TOP: "top";
908
937
  readonly PRIMARY: "PRIMARY";
909
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";
910
943
  declare const metricSplitSelectors: readonly [{
911
944
  readonly value: MetricMeasure.OVERALL;
912
945
  readonly label: "Overall";
@@ -917,6 +950,17 @@ declare const metricSplitSelectors: readonly [{
917
950
  }, {
918
951
  readonly value: MetricMeasure.OUTLIER_TABLES;
919
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";
920
964
  }];
921
965
  declare const metricOutlierSelectors: readonly [{
922
966
  readonly value: "TOP";
@@ -926,9 +970,10 @@ declare const metricOutlierSelectors: readonly [{
926
970
  readonly label: "Bottom";
927
971
  }];
928
972
  declare const TABLE_REQUEST_GRAPHS: string[];
929
- declare const QUERY_REQUEST_GRAPHS: string[];
973
+ declare const SQL_QUERY_REQUEST_GRAPHS: string[];
930
974
  declare const CQL_QUERY_REQUEST_GRAPHS: string[];
931
- declare const TABLET_REQUEST_GRAPHS: string[];
975
+ declare const BACKGROUND_QUERY_REQUEST_GRAPHS: string[];
976
+ declare const CATALOG_READ_REQUEST_GRAPH = "ysql_connections_per_sec";
932
977
  declare const ASH_GROUPBY_VALUES: {
933
978
  WAIT_EVENT_COMPONENT: string;
934
979
  WAIT_EVENT_CLASS: string;
@@ -941,7 +986,6 @@ declare const DEFAULT_RECORDS_PER_PAGE: number[];
941
986
  declare const ANOMALY_CATEGORY_LIST: AnomalyCategory[];
942
987
  declare const GLOBAL_RUNTIME_CONFIG = "00000000-0000-0000-0000-000000000000";
943
988
  declare const RUNTIME_CONFIG_KEYS: {
944
- SHOW_ADVANCED_VIEW: string;
945
989
  SHOW_CLEANUP_HISTORICAL_DATA: string;
946
990
  SHOW_QUERIES_VIEW: string;
947
991
  SHOW_TOPK_METRICS_VIEW: string;
@@ -949,10 +993,11 @@ declare const RUNTIME_CONFIG_KEYS: {
949
993
  declare const ANOMALY_TYPE_TO_NAME_MAP: Record<string, string>;
950
994
  declare const MORE = "MORE";
951
995
  declare const ELLIPSIS = "...";
996
+ declare const VIEW_MORE = "View More";
952
997
  declare const TIME_FILTER_LABEL: {
953
998
  readonly ONE_HOUR: "Last 1 hour";
954
999
  readonly SIX_HOURS: "Last 6 hours";
955
- readonly TWENTYFOUR_HOURS: "Last 24 hours";
1000
+ readonly ONE_DAY: "Last 1 day";
956
1001
  readonly TWO_DAYS: "Last 2 days";
957
1002
  readonly SEVEN_DAYS: "Last 7 days";
958
1003
  readonly CUSTOM: "Custom";
@@ -960,20 +1005,20 @@ declare const TIME_FILTER_LABEL: {
960
1005
  declare const TIME_FILTER_VALUES: {
961
1006
  readonly ONE_HOUR: "1h";
962
1007
  readonly SIX_HOURS: "6h";
963
- readonly TWENTYFOUR_HOURS: "24h";
1008
+ readonly ONE_DAY: "1d";
964
1009
  readonly TWO_DAYS: "2d";
965
1010
  readonly SEVEN_DAYS: "7d";
966
1011
  readonly CUSTOM: "Custom";
967
1012
  };
968
1013
  declare const ANOMALY_FILTER_DURATION_OPTIONS: readonly [{
969
- readonly label: "Last 24 hours";
970
- readonly value: "24h";
1014
+ readonly label: "Last 1 hour";
1015
+ readonly value: "1h";
971
1016
  }, {
972
1017
  readonly label: "Last 6 hours";
973
1018
  readonly value: "6h";
974
1019
  }, {
975
- readonly label: "Last 1 hour";
976
- readonly value: "1h";
1020
+ readonly label: "Last 1 day";
1021
+ readonly value: "1d";
977
1022
  }, {
978
1023
  readonly label: "Last 2 days";
979
1024
  readonly value: "2d";
@@ -1004,11 +1049,17 @@ declare const MetricOrigin: {
1004
1049
  };
1005
1050
  declare const METRIC_TABS: readonly ["ysql_ops", "ycql_ops", "server", "per_process", "disk_io", "tserver", "master", "master_advanced", "lsmdb"];
1006
1051
  declare const METRIC_TABS_TABLES: string[];
1052
+ declare const METRIC_TABS_DATABASES: string[];
1007
1053
  declare const METRIC_TABLES_RESOURCES_WITH_GRAPHS: {
1008
1054
  title: string;
1009
1055
  name: string;
1010
1056
  metrics: string[];
1011
1057
  }[];
1058
+ declare const METRIC_DB_RESOURCES_WITH_GRAPHS: {
1059
+ title: string;
1060
+ name: string;
1061
+ metrics: string[];
1062
+ }[];
1012
1063
  declare const METRIC_RESOURCES_WITH_GRAPHS: readonly [{
1013
1064
  readonly title: "YSQL";
1014
1065
  readonly name: "ysql_ops";
@@ -1046,6 +1097,163 @@ declare const METRIC_RESOURCES_WITH_GRAPHS: readonly [{
1046
1097
  readonly name: "lsmdb";
1047
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"];
1048
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
+ };
1049
1257
 
1050
1258
  declare function isDefinedNotNull(obj: any): boolean;
1051
1259
  declare function isEmptyArray(arr: any): boolean;
@@ -1061,4 +1269,4 @@ declare function isYAxisGreaterThanThousand(dataArray: any): boolean;
1061
1269
  declare function divideYAxisByThousand(dataArray: any): any;
1062
1270
  declare function timeFormatXAxis(dataArray: any, timezone: string | undefined): any;
1063
1271
 
1064
- 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, AnomalyTypeFilter, 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, GraphMetadata, GraphRequestParams, GraphResponse, GraphSettings, GraphType, IN_DEVELOPMENT_MODE, InsightsTabs, MAX_OUTLIER_NUM_NODES, METRIC_FONT, METRIC_RESOURCES_WITH_GRAPHS, METRIC_TABLES_RESOURCES_WITH_GRAPHS, METRIC_TABS, METRIC_TABS_TABLES, MIN_OUTLIER_NUM_NODES, MORE, MetadataFields, MetricConsts, MetricMeasure, MetricOrigin, MetricSplitSelector, MetricsAnalysisEntry, MetricsAnalysisEntryProps, NodeData, NodeDataCloudInfo, NodeDataMetrics, NodeDetails, NodeInfo, NodeState, OutlierSelector, PerfAdvisorEntry, PrimaryDashboardViewTabs, QUERY_DETAILS, QUERY_KEY, QUERY_REQUEST_GRAPHS, QueryPageParams, QueryType, QueryWaitEvents, RCAGuideline, REACT_APP_API_URL, REGION_TAG, RUNTIME_CONFIG_KEYS, Resources, RowItemClasses$1 as RowItemClasses, RuntimeConfigData, RuntimeConfigType, RuntimeConfigs, SortDirection, SplitMode, SplitType, TABLET_REQUEST_GRAPHS, TABLET_TAG, TABLE_REQUEST_GRAPHS, TABLE_TAG, TIME_FILTER_LABEL, TIME_FILTER_VALUES, TPFeatureFlags, TPUrlParams, TableInfo, TablePageParams, TroubleshootAPI, TroubleshootingRecommendations, URL_TAB_PATH, USER_TAG, Universe, UniverseConfig, UniverseMetadataFields, UniverseQueryData, UniverseQueryStatsData, UpdateMetadataFormFields, UpdateRuntimeConfigFormFields, UrlParams, 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, removeNullProperties, timeFormatXAxis, useCodeBlockStyles };
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.2",
3
+ "version": "1.0.34.1amal",
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": "^7.7.3",
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",