You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have 3 Master, 2 Client and 19 Data nodes in our ES cluster.
Each of the data nodes have 8 VCPUs . We are using the following Rest API URL to get the values of nodes.process.cpu.percent(A) and nodes.os.cpu.total_cores(B), http://localhost:9200/_cluster/stats?human&pretty
We are trying to calculate ES CPU Usage in percentage
using the formula, ((A / (100 *B)) * 100 . This computation is giving us values which go over 100%.
We observed that the value of (B) as 8 since there are 8 VCPUs in each of the nodes and due to this the value of (A) should be within 800. But we observed that the value of (A) goes beyond 800 which is causing the percentage to shoot up over 100.
Please can you let us know if our calculations are correct and if so then is the value of (A) from the REST API having some issue.
Thanks
Shruthi
The text was updated successfully, but these errors were encountered:
Hi,
We have 3 Master, 2 Client and 19 Data nodes in our ES cluster.
Each of the data nodes have 8 VCPUs . We are using the following Rest API URL to get the values of nodes.process.cpu.percent(A) and nodes.os.cpu.total_cores(B),
http://localhost:9200/_cluster/stats?human&pretty
We are trying to calculate ES CPU Usage in percentage
using the formula, ((A / (100 *B)) * 100 . This computation is giving us values which go over 100%.
We observed that the value of (B) as 8 since there are 8 VCPUs in each of the nodes and due to this the value of (A) should be within 800. But we observed that the value of (A) goes beyond 800 which is causing the percentage to shoot up over 100.
Please can you let us know if our calculations are correct and if so then is the value of (A) from the REST API having some issue.
Thanks
Shruthi
The text was updated successfully, but these errors were encountered: