Yes, Prometheus is written in Go, and uses the goroutines feature for scraping targets. Each target scraper is a goroutine.
https://golangbot.com/goroutines/ On Fri, Feb 21, 2020 at 10:34 AM adi garg <[email protected]> wrote: > Hello experts, Aditya this side. I am a student, and have just started > exploring prometheus. So please bear with me, if my doubts seems obvious to > you. > > Did prometheus use multithreading to scrape targets? > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Developers" 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-developers/dc130094-71d7-45af-9cc9-1597b6c6fbdc%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-developers/dc130094-71d7-45af-9cc9-1597b6c6fbdc%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" 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-developers/CABbyFmpYL_cEy2yG0Gdcwy-V4xySQi3yoxWMp8JEgvU-m3OoHQ%40mail.gmail.com.

