elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.95k stars 24.74k forks source link

stats api needs work #19809

Closed rmuir closed 5 months ago

rmuir commented 8 years ago

See the discussion on https://github.com/elastic/elasticsearch/pull/19717

The stats api has some problems, which makes it hard to safely add new statistics or even keep the current ones working:

I closed that PR because i don't think we should be piling on more statistics until we fix this stuff...

javanna commented 8 years ago

With #20255 and #20327 we added serialization tests. The only missing tests are for NodeIndicesStats and all CommonStats and subobjects. They need to be reworked I think so that they can be made Writeable, immutable and easily testable. They are quite hard to unit test at the moment. I left a TODO here.

minhlongdo commented 6 years ago

@martijnvg is this being worked on internally?

dakrone commented 5 months ago

This has been open for quite a while, and hasn't had a lot of interest. For now I'm going to close this as something we aren't planning on implementing. We can re-open it later if needed.