-
Notifications
You must be signed in to change notification settings - Fork 806
Description
Hello team,
First of all, very sorry in case this already exist and I'm not been successful in my findings...
I would like to monitor the ratio between the nº of nodes, the heap memory available and the nº of shards assigned per node.
Why?
To avoid oversharding situations, the recommendation is to be HEAP_MEM x 20 => Total shards per node to be in a 'balanced' state. In other way, oversharding states provokes bad performance within the cluster.
So that, I have not been able to find any metric to retrieve the number of shards per node.
We have shards metrics at cluster level:
elasticsearch_cluster_health_active_primary_shards
elasticsearch_cluster_health_active_shards
elasticsearch_cluster_health_delayed_unassigned_shards
elasticsearch_cluster_health_initializing_shards
...
But they all have 'cluster' dimension.
Is there any way to retrieve from the exporter the number of shards per node?
The only metric related to shards and nodes, is the "elasticsearch_indices_shards_docs" that is not what I need at all, since this is the number of documents per shard, per index and per node.
Is there any metric we can use for this?
In case it is not, which should be the process to request it as a new feature?
Thanks in advance guys.
Regards,
M