escp
escp copied to clipboard
ES Cluster Shards and Statistics
This PR defines the types necessary to decode Elasticsearch _stats and _search_shards endpoints to expose cluster information about the shard allocation.
This was done to introspect cluster performance which can be related to poorly configured index shards growing to excessive sizes.