Skip to content
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

Node Stats API: Add specific flags for stats, simplified REST paths #1597

Closed
kimchy opened this issue Jan 9, 2012 · 0 comments
Closed

Node Stats API: Add specific flags for stats, simplified REST paths #1597

kimchy opened this issue Jan 9, 2012 · 0 comments

Comments

@kimchy
Copy link
Member

kimchy commented Jan 9, 2012

Simplified paths for node stats include: /_node/stats and /_node/{nodeIds}/stats. Also, add specific flags to get only specific stats, by default, returning indices stats. The flags are: indices, os, process, jvm, network, transport, and http. clear can be used to clear all flags and then only apply the ones provided. For example: _nodes/stats?clear=true&os=true&process=true.

Specific REST paths are provided for each stats type, for example: /_node/stats/process, and /_node/{nodeId}/stats/process.

As usual, nodeId can be a list of node ids, or a list of IPs, hostnames, or attribute matching, all supporting wildcards.

@kimchy kimchy closed this as completed in 4464fe1 Jan 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant