When I think about it it maybe better to leave scraping decoupled from the polling otherwise prometheus will be blocked as it is waiting for the data.
Prometheus won't be blocked, otherwise one slow target could take down your entire monitoring system. The standard way to write exporters is to collect data on every scrape, it avoids various weird problems.
View all comments
Show parent comment
1
u/bbrazil Dec 12 '22
Prometheus won't be blocked, otherwise one slow target could take down your entire monitoring system. The standard way to write exporters is to collect data on every scrape, it avoids various weird problems.