@yugabytedb/perf-advisor-ui 1.0.111 → 1.0.112
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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +93036 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/types.d.ts +11 -12
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -157,7 +157,6 @@ declare enum BackgroundJobCategory {
|
|
|
157
157
|
declare enum AnomalyType {
|
|
158
158
|
SQL_QUERY_LATENCY_INCREASE = "SQL_QUERY_LATENCY_INCREASE",
|
|
159
159
|
HOT_NODE_CPU = "HOT_NODE_CPU",
|
|
160
|
-
HIGH_MEMORY_USAGE = "HIGH_MEMORY_USAGE",
|
|
161
160
|
HOT_NODE_YSQL_QUERIES = "HOT_NODE_YSQL_QUERIES",
|
|
162
161
|
SLOW_DISKS = "SLOW_DISKS",
|
|
163
162
|
HOT_TABLET = "HOT_TABLET",
|
|
@@ -331,6 +330,7 @@ interface UrlParams {
|
|
|
331
330
|
universeId: string | null;
|
|
332
331
|
userId?: string | null;
|
|
333
332
|
type?: QueryType | null;
|
|
333
|
+
timezoneName?: string | null;
|
|
334
334
|
}
|
|
335
335
|
interface MetadataFields {
|
|
336
336
|
id: string;
|
|
@@ -746,9 +746,10 @@ interface TransformedNodeLoadData {
|
|
|
746
746
|
universeId: string;
|
|
747
747
|
}
|
|
748
748
|
interface PaFeatureRuntimeConfigs {
|
|
749
|
-
showDbLoadView
|
|
750
|
-
showBgTasksView
|
|
751
|
-
showSystemQueriesView
|
|
749
|
+
showDbLoadView?: boolean;
|
|
750
|
+
showBgTasksView?: boolean;
|
|
751
|
+
showSystemQueriesView?: boolean;
|
|
752
|
+
showTimezoneSelector?: boolean;
|
|
752
753
|
}
|
|
753
754
|
interface AnomalyPossibleCauseData {
|
|
754
755
|
summary: string;
|
|
@@ -765,17 +766,16 @@ interface MetricsAnalysisEntryProps {
|
|
|
765
766
|
universeUuid: string;
|
|
766
767
|
troubleshootUuid: string | null;
|
|
767
768
|
appName: AppName;
|
|
768
|
-
timezone?: string;
|
|
769
769
|
apiUrl: string;
|
|
770
|
+
runtimeConfigs?: PaFeatureRuntimeConfigs;
|
|
770
771
|
showStandaloneAnomalies?: boolean;
|
|
771
772
|
onSelectedIssue?: (troubleshootUuid: string | null, params?: PAUrlParams) => void;
|
|
772
773
|
onSelectedQuery?: (queryId: string | null, params?: QueryPageParams) => void;
|
|
773
774
|
onNavigateToUrl?: (url: string) => void;
|
|
774
775
|
}
|
|
775
|
-
declare const MetricsAnalysisEntry: ({ universeUuid, troubleshootUuid, appName,
|
|
776
|
+
declare const MetricsAnalysisEntry: ({ universeUuid, troubleshootUuid, appName, apiUrl, runtimeConfigs, showStandaloneAnomalies, onSelectedIssue, onSelectedQuery, onNavigateToUrl }: MetricsAnalysisEntryProps) => JSX.Element;
|
|
776
777
|
|
|
777
778
|
interface PerfAdvisorEntryProps {
|
|
778
|
-
timezone?: string;
|
|
779
779
|
universeUuid: string;
|
|
780
780
|
appName: AppName;
|
|
781
781
|
apiUrl: string;
|
|
@@ -786,7 +786,7 @@ interface PerfAdvisorEntryProps {
|
|
|
786
786
|
onNavigateToUrl?: (url: string) => void;
|
|
787
787
|
backgroundTasksMappingFunc?: (value: string) => string;
|
|
788
788
|
}
|
|
789
|
-
declare const PerfAdvisorEntry: ({
|
|
789
|
+
declare const PerfAdvisorEntry: ({ universeUuid, appName, apiUrl, runtimeConfigs, showStandaloneAnomalies, onSelectedIssue, onSelectedQuery, onNavigateToUrl, backgroundTasksMappingFunc }: PerfAdvisorEntryProps) => JSX.Element;
|
|
790
790
|
|
|
791
791
|
interface TroubleshootConfigurationProps {
|
|
792
792
|
apiUrl: string;
|
|
@@ -1063,6 +1063,7 @@ declare const RUNTIME_CONFIG_KEYS: {
|
|
|
1063
1063
|
SHOW_QUERIES_VIEW: string;
|
|
1064
1064
|
SHOW_TOPK_METRICS_VIEW: string;
|
|
1065
1065
|
SHOW_DB_CLUSTER_LOAD_VIEW: string;
|
|
1066
|
+
SHOW_TIMEZONE_SELECTOR: string;
|
|
1066
1067
|
};
|
|
1067
1068
|
declare const ANOMALY_TYPE_TO_NAME_MAP: Record<string, string>;
|
|
1068
1069
|
declare const MORE = "MORE";
|
|
@@ -1163,11 +1164,11 @@ declare const METRIC_RESOURCES_WITH_GRAPHS: readonly [{
|
|
|
1163
1164
|
}, {
|
|
1164
1165
|
readonly title: "Tablet Server";
|
|
1165
1166
|
readonly name: "tserver";
|
|
1166
|
-
readonly metrics: readonly ["tserver_rpcs_per_sec_per_node", "tserver_ops_latency", "tserver_handler_latency", "tserver_threads_running", "tserver_threads_started", "tserver_uptime_min", "
|
|
1167
|
+
readonly metrics: readonly ["tserver_rpcs_per_sec_per_node", "tserver_ops_latency", "tserver_handler_latency", "tserver_threads_running", "tserver_threads_started", "tserver_uptime_min", "tserver_consensus_rpcs_per_sec", "tserver_change_config", "tserver_remote_bootstraps", "tserver_consensus_rpcs_latency", "tserver_change_config_latency", "tserver_context_switches", "tserver_spinlock_server", "tserver_log_latency", "tserver_log_bytes_written", "tserver_log_bytes_read", "tserver_log_ops_second", "tserver_write_lock_latency", "tserver_tc_malloc_stats", "tserver_log_stats", "tserver_cache_reader_num_ops", "tserver_glog_info_messages", "tserver_rpc_queue_size_tserver", "tserver_cpu_util_secs", "tserver_yb_rpc_connections", "tserver_live_tablet_peers", "raft_leader", "tserver_max_follower_lag"];
|
|
1167
1168
|
}, {
|
|
1168
1169
|
readonly title: "Master Server";
|
|
1169
1170
|
readonly name: "master";
|
|
1170
|
-
readonly metrics: readonly ["master_overall_rpc_rate", "master_latency", "master_uptime_min", "
|
|
1171
|
+
readonly metrics: readonly ["master_overall_rpc_rate", "master_latency", "master_uptime_min", "master_get_tablet_location", "master_tsservice_reads", "master_tsservice_reads_latency", "master_tsservice_writes", "master_tsservice_writes_latency", "master_ts_heartbeats", "tserver_rpc_queue_size_master", "master_consensus_update", "master_consensus_update_latency", "master_multiraft_consensus_update", "master_multiraft_consensus_update_latency", "master_table_ops", "master_tablet_split_candidates", "master_cpu_util_secs", "master_yb_rpc_connections", "master_leaderless_and_underreplicated_tablets", "master_max_follower_lag", "master_load_balancer_stats"];
|
|
1171
1172
|
}, {
|
|
1172
1173
|
readonly title: "Master Server Advanced";
|
|
1173
1174
|
readonly name: "master_advanced";
|
|
@@ -1229,7 +1230,6 @@ declare const METRIC_NAMES: {
|
|
|
1229
1230
|
tserver_threads_running: string;
|
|
1230
1231
|
tserver_threads_started: string;
|
|
1231
1232
|
tserver_uptime_min: string;
|
|
1232
|
-
tserver_memory: string;
|
|
1233
1233
|
tserver_consensus_rpcs_per_sec: string;
|
|
1234
1234
|
tserver_change_config: string;
|
|
1235
1235
|
tserver_remote_bootstraps: string;
|
|
@@ -1255,7 +1255,6 @@ declare const METRIC_NAMES: {
|
|
|
1255
1255
|
master_overall_rpc_rate: string;
|
|
1256
1256
|
master_latency: string;
|
|
1257
1257
|
master_uptime_min: string;
|
|
1258
|
-
master_memory: string;
|
|
1259
1258
|
master_get_tablet_location: string;
|
|
1260
1259
|
master_tsservice_reads: string;
|
|
1261
1260
|
master_tsservice_reads_latency: string;
|
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.112",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"types": "dist/types.d.ts",
|
|
6
6
|
"author": "Rajagopalan Madhavan",
|
|
@@ -118,4 +118,4 @@
|
|
|
118
118
|
"publishConfig": {
|
|
119
119
|
"access": "public"
|
|
120
120
|
}
|
|
121
|
-
}
|
|
121
|
+
}
|