Restart the Prometheus service to obtain the monitoring data. The restart method is as follows:

  • For versions earlier than 3.1.0, kill the Prometheus process in the management node and wait for the management node to pull up the monitoring service again (about 30 seconds).
  • For 3.1.0 and later versions, run the systemctl restart prometheus command in the management node to restart the monitoring service.