On 2021-03-22 14:27, dc3o wrote:
Considering that scrape interval is controller by Prometheus
configuration, how do we configure how often some exporter pulls and
exposes the metrics? For instance - say that scrape interval is 60s -
how do we ensure that metrics provided are representing values in the
exact moment?


The normal mechanism is to trigger a fetch/generate of any metrics that aren't continuous when a scrape comes in. If needed you might then cache those values within the exporter for a period if they are expensive/slow to produce.

--
Stuart Clark

--
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/494e57ecfb4bbfe5a97de0ada086b528%40Jahingo.com.

Reply via email to