What happens if you scrape just the 625 targets? Or if you scrape just one or two targets, taken from the set of 625 problematic ones?
- if they still show as down, then it's a problem with those targets. Pick one, make a test direct scrape using curl from the prometheus server, and debug the issue. Could be something like a firewall between your prometheus server and the target. - if the targets show as up, but down when go down when you are scraping 2000 hosts, then maybe you don't have enough capacity on your central prometheus server to get round everything. Increase your scrape interval, or spread the targets between multiple prometheus servers, or reduce the number of metrics being exported from each target. On Wednesday, 22 June 2022 at 12:56:32 UTC+1 [email protected] wrote: > Hello Team, > > While adding 2000 hosts as a prometheus scrape targets. Only 1375 hosts > show up. Rest are 625 show down with connection timeout error. > > What is the reason for that? Any idea? > > Thanks and regards > Ritesh patel > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/2fccbdd6-bea6-4994-ab5d-ad886c22c7fdn%40googlegroups.com.

