Not the answer you need?
Register and ask your own question!

CPU graph shows 100% wherein reality its < 20%

Actual CPU usage was 20% and graph representing 100% utilisation. Can you please help to solve this. Is this a bug?.

Some details =========
docker installation
version 1.3.0

Comments

  • MykolaMykola Percona Percona Staff Role
    can you try the following query for this graph and report if it is working better to you?
     sum(rate(node_cpu{instance="$host", mode!="idle"}[$interval])) by (mode)* 100 / scalar(sum(rate(node_cpu{instance="$host"}[$interval]))) or sum(irate(node_cpu{instance="$host", mode!="idle"}[5m])) by (mode) * 100 / scalar(sum(irate(node_cpu{instance="$host"}[5m])))
    
  • vaibhav_upadhyay40vaibhav_upadhyay40 Contributor Current User Role Patron
    Thanks Mykola..I tried and it looks better than before (.i.e 50%). Still when I compare with other source of data (other monitoring tool & "sar") it is not matching.
  • MykolaMykola Percona Percona Staff Role
    do you see the same iowait peak directly in prometheus?
    https://PMM-SERVER-IP/prometheus/graph?g0.range_input=12h&g0.expr=+sum(rate(node_cpu%7Binstance%3D%22INSTANCE-NAME%22%2C+mode%3D%22iowait%22%7D%5B1m%5D))+by+(mode)&g0.tab=0
    
    be carefull, you need specify 1) PMM Server IP, 2) instance name in the URL and 3) time period on web page -- corectly
  • vaibhav_upadhyay40vaibhav_upadhyay40 Contributor Current User Role Patron
    Result is different using above link. Attached here-with screen-shots. Thanks
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.