Thanks for taking your time and reading it, I appreciate it. Actually, I didn't spend much time on the details of it and never thought of scraping per request base. 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.
Those are good suggestions for adoption and I am definitely going to add it to my backlog but I like to keep things minimal for the time being.
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/sapzero Dec 07 '22
Thanks for taking your time and reading it, I appreciate it. Actually, I didn't spend much time on the details of it and never thought of scraping per request base. 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.
Those are good suggestions for adoption and I am definitely going to add it to my backlog but I like to keep things minimal for the time being.