@yugabytedb/perf-advisor-ui 1.0.2 → 1.0.4
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.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/types.d.ts +137 -4
- package/package.json +2 -1
package/dist/types.d.ts
CHANGED
|
@@ -381,8 +381,7 @@ interface RowItemClasses$1 {
|
|
|
381
381
|
}
|
|
382
382
|
declare enum TPFeatureFlags {
|
|
383
383
|
SHOW_QUERY_STATS_TIMESTAMP = "showStatsTimestamp",
|
|
384
|
-
SHOW_CLEANUP_HISTORICAL_DATA = "showCleanupHistoricalData"
|
|
385
|
-
SHOW_ADVANCED_VIEW = "showAdvancedView"
|
|
384
|
+
SHOW_CLEANUP_HISTORICAL_DATA = "showCleanupHistoricalData"
|
|
386
385
|
}
|
|
387
386
|
declare enum AnomalyDetectionStatusText {
|
|
388
387
|
EMPTY = "EMPTY",
|
|
@@ -941,7 +940,6 @@ declare const DEFAULT_RECORDS_PER_PAGE: number[];
|
|
|
941
940
|
declare const ANOMALY_CATEGORY_LIST: AnomalyCategory[];
|
|
942
941
|
declare const GLOBAL_RUNTIME_CONFIG = "00000000-0000-0000-0000-000000000000";
|
|
943
942
|
declare const RUNTIME_CONFIG_KEYS: {
|
|
944
|
-
SHOW_ADVANCED_VIEW: string;
|
|
945
943
|
SHOW_CLEANUP_HISTORICAL_DATA: string;
|
|
946
944
|
SHOW_QUERIES_VIEW: string;
|
|
947
945
|
SHOW_TOPK_METRICS_VIEW: string;
|
|
@@ -1046,6 +1044,141 @@ declare const METRIC_RESOURCES_WITH_GRAPHS: readonly [{
|
|
|
1046
1044
|
readonly name: "lsmdb";
|
|
1047
1045
|
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
1046
|
}];
|
|
1047
|
+
declare const METRIC_NAMES: {
|
|
1048
|
+
ysql_server_rpc_per_second: string;
|
|
1049
|
+
ysql_sql_latency: string;
|
|
1050
|
+
ysql_connections: string;
|
|
1051
|
+
ysql_connections_per_sec: string;
|
|
1052
|
+
ysql_server_advanced_rpc_per_second: string;
|
|
1053
|
+
ysql_sql_advanced_latency: string;
|
|
1054
|
+
ysql_catalog_cache_misses: string;
|
|
1055
|
+
ysql_conn_mgr_active_connections: string;
|
|
1056
|
+
cql_server_rpc_per_second: string;
|
|
1057
|
+
cql_sql_latency: string;
|
|
1058
|
+
cql_server_rpc_p99: string;
|
|
1059
|
+
cql_sql_latency_breakdown: string;
|
|
1060
|
+
cql_yb_local_vs_remote: string;
|
|
1061
|
+
cql_yb_latency: string;
|
|
1062
|
+
cql_reactor_latency: string;
|
|
1063
|
+
tserver_rpc_queue_size_cql: string;
|
|
1064
|
+
response_sizes: string;
|
|
1065
|
+
cql_yb_transaction: string;
|
|
1066
|
+
cql_yb_rpc_connections: string;
|
|
1067
|
+
cpu_usage: string;
|
|
1068
|
+
memory_usage: string;
|
|
1069
|
+
disk_iops: string;
|
|
1070
|
+
disk_usage_percent: string;
|
|
1071
|
+
disk_used_size_total: string;
|
|
1072
|
+
disk_volume_usage_percent: string;
|
|
1073
|
+
disk_volume_used: string;
|
|
1074
|
+
disk_bytes_per_second_per_node: string;
|
|
1075
|
+
disk_io_time: string;
|
|
1076
|
+
disk_io_queue_depth: string;
|
|
1077
|
+
disk_io_read_latency: string;
|
|
1078
|
+
disk_io_write_latency: string;
|
|
1079
|
+
network_packets: string;
|
|
1080
|
+
network_bytes: string;
|
|
1081
|
+
network_errors: string;
|
|
1082
|
+
system_load_over_time: string;
|
|
1083
|
+
node_clock_skew: string;
|
|
1084
|
+
process_user_cpu_seconds: string;
|
|
1085
|
+
process_system_cpu_seconds: string;
|
|
1086
|
+
process_virtual_memory: string;
|
|
1087
|
+
process_resident_memory: string;
|
|
1088
|
+
process_proportional_memory: string;
|
|
1089
|
+
process_io_read: string;
|
|
1090
|
+
process_io_write: string;
|
|
1091
|
+
process_open_files: string;
|
|
1092
|
+
tserver_rpcs_per_sec_per_node: string;
|
|
1093
|
+
tserver_ops_latency: string;
|
|
1094
|
+
tserver_handler_latency: string;
|
|
1095
|
+
tserver_threads_running: string;
|
|
1096
|
+
tserver_threads_started: string;
|
|
1097
|
+
tserver_uptime_min: string;
|
|
1098
|
+
tserver_consensus_rpcs_per_sec: string;
|
|
1099
|
+
tserver_change_config: string;
|
|
1100
|
+
tserver_remote_bootstraps: string;
|
|
1101
|
+
tserver_consensus_rpcs_latency: string;
|
|
1102
|
+
tserver_change_config_latency: string;
|
|
1103
|
+
tserver_context_switches: string;
|
|
1104
|
+
tserver_spinlock_server: string;
|
|
1105
|
+
tserver_log_latency: string;
|
|
1106
|
+
tserver_log_bytes_written: string;
|
|
1107
|
+
tserver_log_bytes_read: string;
|
|
1108
|
+
tserver_log_ops_second: string;
|
|
1109
|
+
tserver_write_lock_latency: string;
|
|
1110
|
+
tserver_tc_malloc_stats: string;
|
|
1111
|
+
tserver_log_stats: string;
|
|
1112
|
+
tserver_cache_reader_num_ops: string;
|
|
1113
|
+
tserver_glog_info_messages: string;
|
|
1114
|
+
tserver_rpc_queue_size_tserver: string;
|
|
1115
|
+
tserver_cpu_util_secs: string;
|
|
1116
|
+
tserver_yb_rpc_connections: string;
|
|
1117
|
+
tserver_live_tablet_peers: string;
|
|
1118
|
+
raft_leader: string;
|
|
1119
|
+
tserver_max_follower_lag: string;
|
|
1120
|
+
master_overall_rpc_rate: string;
|
|
1121
|
+
master_latency: string;
|
|
1122
|
+
master_uptime_min: string;
|
|
1123
|
+
master_get_tablet_location: string;
|
|
1124
|
+
master_tsservice_reads: string;
|
|
1125
|
+
master_tsservice_reads_latency: string;
|
|
1126
|
+
master_tsservice_writes: string;
|
|
1127
|
+
master_tsservice_writes_latency: string;
|
|
1128
|
+
master_ts_heartbeats: string;
|
|
1129
|
+
tserver_rpc_queue_size_master: string;
|
|
1130
|
+
master_consensus_update: string;
|
|
1131
|
+
master_consensus_update_latency: string;
|
|
1132
|
+
master_multiraft_consensus_update: string;
|
|
1133
|
+
master_multiraft_consensus_update_latency: string;
|
|
1134
|
+
master_table_ops: string;
|
|
1135
|
+
master_cpu_util_secs: string;
|
|
1136
|
+
master_yb_rpc_connections: string;
|
|
1137
|
+
master_leaderless_and_underreplicated_tablets: string;
|
|
1138
|
+
master_max_follower_lag: string;
|
|
1139
|
+
master_load_balancer_stats: string;
|
|
1140
|
+
master_threads_running: string;
|
|
1141
|
+
master_log_latency: string;
|
|
1142
|
+
master_log_bytes_written: string;
|
|
1143
|
+
master_log_bytes_read: string;
|
|
1144
|
+
master_tc_malloc_stats: string;
|
|
1145
|
+
master_glog_info_messages: string;
|
|
1146
|
+
master_lsm_rocksdb_seek_next_prev: string;
|
|
1147
|
+
master_lsm_rocksdb_num_seeks_per_node: string;
|
|
1148
|
+
master_lsm_rocksdb_total_sst_per_node: string;
|
|
1149
|
+
master_lsm_rocksdb_avg_num_sst_per_node: string;
|
|
1150
|
+
master_lsm_rocksdb_block_cache_hit_miss: string;
|
|
1151
|
+
master_lsm_rocksdb_block_cache_usage: string;
|
|
1152
|
+
master_lsm_rocksdb_blooms_checked_and_useful: string;
|
|
1153
|
+
master_lsm_rocksdb_flush_size: string;
|
|
1154
|
+
master_lsm_rocksdb_compaction: string;
|
|
1155
|
+
master_lsm_rocksdb_compaction_numfiles: string;
|
|
1156
|
+
master_lsm_rocksdb_compaction_time: string;
|
|
1157
|
+
lsm_rocksdb_seek_next_prev: string;
|
|
1158
|
+
lsm_rocksdb_total_sst_per_node: string;
|
|
1159
|
+
lsm_rocksdb_avg_num_sst_per_node: string;
|
|
1160
|
+
lsm_rocksdb_latencies_get: string;
|
|
1161
|
+
lsm_rocksdb_latencies_write: string;
|
|
1162
|
+
lsm_rocksdb_latencies_seek: string;
|
|
1163
|
+
lsm_rocksdb_latencies_mutex: string;
|
|
1164
|
+
lsm_rocksdb_block_cache_hit_miss: string;
|
|
1165
|
+
lsm_rocksdb_block_cache_usage: string;
|
|
1166
|
+
lsm_rocksdb_blooms_checked_and_useful: string;
|
|
1167
|
+
lsm_rocksdb_stalls: string;
|
|
1168
|
+
lsm_rocksdb_write_rejections: string;
|
|
1169
|
+
lsm_rocksdb_memory_rejections: string;
|
|
1170
|
+
lsm_rocksdb_flush_size: string;
|
|
1171
|
+
lsm_rocksdb_compaction: string;
|
|
1172
|
+
lsm_rocksdb_compaction_tasks: string;
|
|
1173
|
+
lsm_rocksdb_compaction_time: string;
|
|
1174
|
+
lsm_rocksdb_compaction_numfiles: string;
|
|
1175
|
+
lsm_rocksdb_mem_tracker_db_memtable: string;
|
|
1176
|
+
docdb_transaction: string;
|
|
1177
|
+
docdb_transaction_pool_cache: string;
|
|
1178
|
+
tablet_splitting_stats: string;
|
|
1179
|
+
automatic_split_manager_time: string;
|
|
1180
|
+
};
|
|
1181
|
+
declare const METRICS_SESSION_STORAGE_KEY = "METRICS_NAMES";
|
|
1049
1182
|
|
|
1050
1183
|
declare function isDefinedNotNull(obj: any): boolean;
|
|
1051
1184
|
declare function isEmptyArray(arr: any): boolean;
|
|
@@ -1061,4 +1194,4 @@ declare function isYAxisGreaterThanThousand(dataArray: any): boolean;
|
|
|
1061
1194
|
declare function divideYAxisByThousand(dataArray: any): any;
|
|
1062
1195
|
declare function timeFormatXAxis(dataArray: any, timezone: string | undefined): any;
|
|
1063
1196
|
|
|
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 };
|
|
1197
|
+
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, METRICS_SESSION_STORAGE_KEY, METRIC_FONT, METRIC_NAMES, 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 };
|
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.4",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"types": "dist/types.d.ts",
|
|
6
6
|
"author": "Rajagopalan Madhavan",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"@types/react-dom": "17.0.3",
|
|
44
44
|
"@types/react-router": "3.0.24",
|
|
45
45
|
"@types/react-router-dom": "5.3.3",
|
|
46
|
+
"@yugabyte-ui-library/core": "1.4.12",
|
|
46
47
|
"axios": "0.21.3",
|
|
47
48
|
"clsx": "1.1.1",
|
|
48
49
|
"date-fns": "2.30.0",
|