Hi all!
I am writing an exporter that pulls stats from a remote API to which I need to limit my requests -- ideally to no more than like 100-200 per day. Which of these is my best option for keeping the number of requests low?
Or is there something I’m not thinking of?
Thanks!
Hi all!
I am writing an exporter that pulls stats from a remote API to which I need to limit my requests -- ideally to no more than like 100-200 per day. Which of these is my best option for keeping the number of requests low?
- Exporter queries the remote API at each scrape but I increase scrape interval for this target. Can it practically be longer than 2 minutes these days?
- Exporter caches the remote API data and reports the values back to Prometheus as current.
- Exporter caches the remote API data and reports the values back to Prometheus with timestamps.
Or is there something I’m not thinking of?
Thanks!
--
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/60c04a76-c574-4c39-8511-24ce1cfa9c37n%40googlegroups.com.