Hello community.
I'm having some issues using node_exporter and prometheus and your help would be much appreciated.
Currently i have a prometheus instance running on docker and a node_exporter running on another instance. All is setup correctly and prometheus can scrape the metrics exposed by node_exporter.
The issue comes up when i block traffic on port 9100 (instance is at AWS and i simply remove the rule from a security group) and node_expoerter continuas available to scrape by prometheus.
I've checked netstat on both ends, prometheus and node_exporter, and it appears ESTABLISHED. Shouldn't this connection just die after a while? DOes prometheus need some sort of configuration to refresh connection or the problem is on the instance side?
Thanks in advance!