Node Exporting still reporting after shutdown

Hey,

I’m seeing that when the Grafana Agent becomes unresponsive for any reason (overloaded node, etc) the node exporter (or Prometheus) still reports it as active for 5 minutes. I am wondering why this is and if it can be configured.

I am using Grafana Cloud with the Grafana Agent and Node Exporter installed on an EC2 instance.

Cheers