Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

available_processors field in CAT Nodes#135936

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

piotrsulkowski-elastic
Copy link
Contributor

Cat nodes REST action will return an extra field:
available_processors. It is now also part of all responses which contain Os Stats.

Closes#134692

@elasticsearchmachineelasticsearchmachine added v9.3.0 needs:triageRequires assignment of a team area label labelsOct 3, 2025
@piotrsulkowski-elastic
Copy link
ContributorAuthor

update to client docs will follow soon (I'll link it here before merging)

@piotrsulkowski-elasticpiotrsulkowski-elastic added >feature Team:SecurityMeta label for security team :Data Management/CAT APIsText APIs behind /_cat >enhancement and removed >feature labelsOct 3, 2025
@elasticsearchmachineelasticsearchmachine added Team:Data ManagementMeta label for data/management team and removed Team:SecurityMeta label for security team needs:triageRequires assignment of a team area label labelsOct 3, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine
Copy link
Collaborator

Hi@piotrsulkowski-elastic, I've created a changelog YAML for you.

@piotrsulkowski-elasticpiotrsulkowski-elasticforce-pushed theavailable-processors-in-cat-nodes branch from31c85f0 to76b9bf8CompareOctober 7, 2025 08:50
@piotrsulkowski-elasticpiotrsulkowski-elasticforce-pushed theavailable-processors-in-cat-nodes branch 2 times, most recently from9aa7eb2 tod7b8f64CompareOctober 7, 2025 23:51
@piotrsulkowski-elasticpiotrsulkowski-elasticforce-pushed theavailable-processors-in-cat-nodes branch 2 times, most recently from41aa94d toa162172CompareOctober 8, 2025 10:22
@piotrsulkowski-elasticpiotrsulkowski-elasticforce-pushed theavailable-processors-in-cat-nodes branch 7 times, most recently from5820018 to7d847d5CompareOctober 8, 2025 23:06
Copy link
Contributor

@lukewhitinglukewhiting left a comment

Choose a reason for hiding this comment

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

One small change to theTransportVersion declaration but otherwise looks like a good change 👍🏻

}else {
this.loadAverage =null;
}
this.availableProcessors =in.getTransportVersion().supports(TransportVersion.fromName(AVAILABLE_PROCESSORS_TRANSPORT_VERSION))
Copy link
Contributor

Choose a reason for hiding this comment

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

ThisTransportVersion should be a static field so it's only called once and can be used in other places if required.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

thanks, fixed

@piotrsulkowski-elasticpiotrsulkowski-elasticforce-pushed theavailable-processors-in-cat-nodes branch from7d847d5 to8b20f88CompareOctober 9, 2025 10:29
Copy link
Contributor

@lukewhitinglukewhiting left a comment

Choose a reason for hiding this comment

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

Changes LGTM 👍🏻

@piotrsulkowski-elasticpiotrsulkowski-elasticforce-pushed theavailable-processors-in-cat-nodes branch 7 times, most recently fromd228a30 to9c82443CompareOctober 10, 2025 13:35
Cat nodes REST action will return an extra field:available_processors. It is now also part of all responseswhich contain Os Stats.Closeselastic#134692
@piotrsulkowski-elasticpiotrsulkowski-elasticforce-pushed theavailable-processors-in-cat-nodes branch from9c82443 to0c6e765CompareOctober 10, 2025 15:13
@piotrsulkowski-elasticpiotrsulkowski-elastic merged commit33743c1 intoelastic:mainOct 10, 2025
34 checks passed
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull requestOct 13, 2025
Cat nodes REST action will return an extra field:available_processors. It is now also part of all responseswhich contain Os Stats.Closeselastic#134692
@piotrsulkowski-elasticpiotrsulkowski-elastic deleted the available-processors-in-cat-nodes branchOctober 13, 2025 08:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@lukewhitinglukewhitinglukewhiting approved these changes

Assignees

No one assigned

Labels

:Data Management/CAT APIsText APIs behind /_cat>enhancementTeam:Data ManagementMeta label for data/management teamv9.3.0

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

CAT Nodes | report allocated CPU

3 participants

@piotrsulkowski-elastic@elasticsearchmachine@lukewhiting

[8]ページ先頭

©2009-2025 Movatter.jp