Skip to content

Commit ef1e791

Browse files
committed
[#22729][#22730] yugabyted: APIServer and UI implementation for xcluster in yugabyted
Summary: API Server and UI implementation for XCluster in Yugabyted Three new endpoints: 1. `/api/xcluster_metrics` 2. `/api/xcluster_namespace_details/:replication_id` 3. `/api/xcluster_safe_time_metrics` The third endpoint is not currently in use and will support historical data fetching once the `consumer_time_lag` field is exposed to Prometheus. Jira: DB-11634, DB-11635 Test Plan: Manual testing Reviewers: sgarg-yb, nikhil, djiang Reviewed By: nikhil, djiang Subscribers: krishna.tripathi, yugabyted-dev Differential Revision: https://phorge.dev.yugabyte.com/D41347
1 parent 7678d92 commit ef1e791

File tree

53 files changed

+6110
-658
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+6110
-658
lines changed

yugabyted-ui/apiserver/cmd/server/.docs/api/openapi.yaml

+1,607-584
Large diffs are not rendered by default.

yugabyted-ui/apiserver/cmd/server/.openapi-generator/FILES

+8
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ models/model_metric_data.go
5252
models/model_metric_response.go
5353
models/model_migrate_schema_task_info.go
5454
models/model_migration_assessment_report.go
55+
models/model_namespaces_info.go
5556
models/model_node_data.go
5657
models/model_node_data_cloud_info.go
5758
models/model_node_data_metrics.go
@@ -77,6 +78,7 @@ models/model_sql_objects_details.go
7778
models/model_table_info.go
7879
models/model_table_info_table_replication_info.go
7980
models/model_table_replication_info.go
81+
models/model_table_replication_lag_details_outbound.go
8082
models/model_tablet_info.go
8183
models/model_target_cluster_recommendation_details.go
8284
models/model_target_cluster_spec.go
@@ -91,4 +93,10 @@ models/model_voyager_migration_details_source_db.go
9193
models/model_voyager_migration_details_target_cluster.go
9294
models/model_voyager_migration_details_voyager.go
9395
models/model_voyager_migrations_info.go
96+
models/model_x_cluster_inbound_group.go
97+
models/model_x_cluster_namespace_metrics.go
98+
models/model_x_cluster_outbound_group.go
99+
models/model_x_cluster_placement_location.go
100+
models/model_x_cluster_replication_groups.go
101+
models/model_x_cluster_table_info_inbound.go
94102
models/model_yb_api_enum.go

0 commit comments

Comments
 (0)