Add cpu check and metric