Scraping time is not working as expected

I am trying to monitor the SSL certificate expiry of our websites in Grafana. While I keep the scraping time of the list targets in the prometheus.yml file is 10m Grafana is pulling all the targets inside the job fine and while I keep for 1d, Grafana is not pulling all the targets inside the metrics