Yes... It will give the timestamp... It is giving the time even though the specific instance is down. It should not give the timestamp if it didn't scrape as the instance/server was down.
Can we check whether the scrape was successful or not? The main intention is to find the timestamp because when a server goes down we can know at what time the last scrape happen. On Friday, 16 September 2022 at 12:01:50 UTC+5:30 sup...@gmail.com wrote: > timestamp(up) > > On Fri, Sep 16, 2022 at 7:36 AM BHARATH KUMAR <chembakay...@gmail.com> > wrote: > >> Hello, >> >> Can we know the last time when the Prometheus scrape the metrics. Is >> there any metric to find the time when the Prometheus did the scrape? >> >> Thanks & regards, >> Bharath Kumar. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Prometheus Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to prometheus-use...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/prometheus-users/e28a24ea-921a-4710-9540-0f0c66556ab8n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/prometheus-users/e28a24ea-921a-4710-9540-0f0c66556ab8n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/b7f9c631-0d1e-4750-a284-823a7af62e0bn%40googlegroups.com.