Skip to content

Add description to _cluster/stats ccs section #4311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smalyshev
Copy link
Contributor

Document ccs section in _cluster/stats response.

Copy link
Contributor

Following you can find the validation results for the APIs you have changed.

API Status Request Response
cluster.stats 🔴 27/27 0/27

You can validate these APIs yourself by using the make validate target.

@smalyshev smalyshev requested a review from Copilot April 25, 2025 22:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR documents the cross-cluster search (CCS) section in the _cluster/stats response. The key changes include:

  • Adding detailed documentation and new type classes/interfaces for cross-cluster stats (CCSStats, RemoteClusterInfo, CCSUsageStats, etc.) in the TypeScript definitions.
  • Updating the StatsResponseBase in ClusterStatsResponse.ts to include the new ccs property.
  • Propagating similar changes to the generated output types in output/typescript/types.ts.

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

File Description
specification/cluster/stats/types.ts Added new CCS types and documentation for cross-cluster stats.
specification/cluster/stats/ClusterStatsResponse.ts Updated StatsResponseBase to include the ccs field.
output/typescript/types.ts Added corresponding interfaces for CCS stats and remote cluster info.
Files not reviewed (1)
  • output/openapi/elasticsearch-openapi.json: Language not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant