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

Simplify indices stats API #4382

Merged
merged 1 commit into from
Jan 6, 2014

Conversation

spinscale
Copy link
Contributor

Note: This breaks backward compatibility

  • Removed clear/all parameters, now all stats are returned by default
  • Made the metrics part of the URL
  • Removed a lot of handlers
  • Added shards/indices/cluster level paremeter to change response serialization
  • Returning translog statistics in IndicesStats
  • Added TranslogStats class
  • Added IndexShard.translogStats() method to get the stats from concrete implementation

Closes #4054

@clintongormley
Copy link

LGTM

@dakrone
Copy link
Member

dakrone commented Dec 10, 2013

@spinscale shouldn't this include the documentation changes since this is a breaking change?

@spinscale
Copy link
Contributor Author

@dakrone totally. changed docs as well

Note: This breaks backward compatibility

* Removed clear/all parameters, now all stats are returned by default
* Made the metrics part of the URL
* Removed a lot of handlers
* Added shards/indices/cluster level paremeter to change response serialization
* Returning translog statistics in IndicesStats
* Added TranslogStats class
* Added IndexShard.translogStats() method to get the stats from concrete implementation
* Updated documentation

Closes elastic#4054
@spinscale spinscale merged commit 33878be into elastic:master Jan 6, 2014
@otisg
Copy link

otisg commented Jan 6, 2014

@spinscale does this change the response format for previously returned stats or just parameters?

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.

Changes to the indices stats API
4 participants