@yugabytedb/perf-advisor-ui 1.0.168 → 1.0.170

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.
@@ -213,7 +213,7 @@ export declare const METRIC_RESOURCES_WITH_GRAPHS: readonly [{
213
213
  }, {
214
214
  readonly title: "Tablet Server";
215
215
  readonly name: "tserver";
216
- readonly metrics: readonly ["tserver_rpcs_per_sec_per_node", "tserver_ops_latency", "tserver_ops_latency_p99", "tserver_handler_latency", "tserver_threads_running", "tserver_threads_started", "tserver_uptime_min", "tserver_memory", "tserver_consensus_rpcs_per_sec", "tserver_change_config", "tserver_remote_bootstraps", "tserver_remote_bootstrap_bandwidth", "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"];
216
+ readonly metrics: readonly ["tserver_rpcs_per_sec_per_node", "tserver_ops_latency", "tserver_ops_latency_p99", "tserver_handler_latency", "tserver_threads_running", "tserver_threads_started", "tserver_uptime_min", "tserver_memory", "tserver_consensus_rpcs_per_sec", "tserver_change_config", "tserver_remote_bootstraps", "tserver_remote_bootstrap_bandwidth", "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", "docdb_keys_found"];
217
217
  }, {
218
218
  readonly title: "Master Server";
219
219
  readonly name: "master";
@@ -242,7 +242,7 @@ export declare const METRIC_K8S_RESOURCES_WITH_GRAPHS: readonly [{
242
242
  }, {
243
243
  readonly title: "Tablet Server";
244
244
  readonly name: "tserver";
245
- readonly metrics: readonly ["tserver_rpcs_per_sec_per_node", "tserver_ops_latency", "tserver_ops_latency_p99", "tserver_handler_latency", "tserver_threads_running", "tserver_threads_started", "tserver_uptime_min", "tserver_memory", "tserver_consensus_rpcs_per_sec", "tserver_change_config", "tserver_remote_bootstraps", "tserver_remote_bootstrap_bandwidth", "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"];
245
+ readonly metrics: readonly ["tserver_rpcs_per_sec_per_node", "tserver_ops_latency", "tserver_ops_latency_p99", "tserver_handler_latency", "tserver_threads_running", "tserver_threads_started", "tserver_uptime_min", "tserver_memory", "tserver_consensus_rpcs_per_sec", "tserver_change_config", "tserver_remote_bootstraps", "tserver_remote_bootstrap_bandwidth", "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", "docdb_keys_found"];
246
246
  }, {
247
247
  readonly title: "Master Server";
248
248
  readonly name: "master";
@@ -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;
@@ -361,9 +363,9 @@ export interface MetadataFields {
361
363
  apiToken: string;
362
364
  platformUrl: string;
363
365
  metricsUrl: string;
366
+ metricsUsername?: string | null;
367
+ metricsPassword?: string | null;
364
368
  metricsScrapePeriodSec: number;
365
- dataMountPoints: string[];
366
- otherMountPoints: string[];
367
369
  lastSyncError?: string | null;
368
370
  status?: boolean;
369
371
  actions?: string;
@@ -377,15 +379,11 @@ export interface AuthDetails {
377
379
  export interface UniverseMetadataFields {
378
380
  authDetails: AuthDetails;
379
381
  customerId: string;
380
- dataMountPoints: string[];
381
382
  id: string;
382
- otherMountPoints: string[];
383
383
  }
384
384
  export interface AttachUniversePayload {
385
385
  id: string;
386
386
  customerId: string;
387
- dataMountPoints: string[];
388
- otherMountPoints: string[];
389
387
  }
390
388
  export interface UpdateMetadataFormFields {
391
389
  apiToken: string;
@@ -516,8 +514,8 @@ export interface TableResponseMetadata {
516
514
  tableId?: number;
517
515
  definition?: string;
518
516
  attributes?: TableAttribute[];
519
- firstSampleTime?: string;
520
- lastSampleTime?: string;
517
+ firstSeenTimestamp?: string;
518
+ deletedDate?: string;
521
519
  definitionUpdatedAt?: string;
522
520
  updated?: string;
523
521
  }
@@ -1119,6 +1117,18 @@ export interface HaMemberState {
1119
1117
  * entered STALE_CONFIG in the current lifecycle.
1120
1118
  */
1121
1119
  staleConfigSince?: string | null;
1120
+ /**
1121
+ * Change-feed entries the leader has produced that this member has not applied yet. Only the
1122
+ * leader can answer this - {@code ha_change_log} is leader-local - so it is -1 (or undefined
1123
+ * against an older backend) when read from a follower, and always 0 for the leader's own row.
1124
+ */
1125
+ pendingEntries?: number | null;
1126
+ /**
1127
+ * {@code produced_at} of the last change-feed entry this member applied: the wall-clock age of
1128
+ * its replica, and the primary lag signal in the members table. Null when retention has
1129
+ * already trimmed that entry, in which case {@code pendingEntries} is the fallback.
1130
+ */
1131
+ lastAppliedAt?: string | null;
1122
1132
  }
1123
1133
  export interface HaState {
1124
1134
  groupConfigured: boolean;
@@ -1127,6 +1137,11 @@ export interface HaState {
1127
1137
  leaderMemberUuid?: string | null;
1128
1138
  localMemberUuid?: string | null;
1129
1139
  members: HaMemberState[];
1140
+ /**
1141
+ * Highest change-feed sequence the leader has produced, or 0 when read from a follower. Paired
1142
+ * with each member's {@code lastAppliedSeq} this is what makes replication lag visible.
1143
+ */
1144
+ headSeq?: number | null;
1130
1145
  /**
1131
1146
  * Computed "is this PA currently scraping" bit. Sourced from
1132
1147
  * {@code HaService.isScrapingEnabled()} on the backend: {@code true} when this PA is not part
@@ -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) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yugabytedb/perf-advisor-ui",
3
- "version": "1.0.168",
3
+ "version": "1.0.170",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",