I'd say it's better to run your elasticsearch exporter at whatever interval 
makes sense - say once every 30 minutes as you are now - but scrape that 
value every 2 minutes.

The simplest approach is to run a cronjob every 30 minutes, and write the 
results to a file for node_exporter's textfile collector.  Or you can send 
the results to pushgateway.

There are a number of advantages to this - in particular, you can safely 
scrape from multiple prometheus servers without generating additional load 
on your elasticsearch node.

-- 
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/254db9a7-cb8f-4763-8076-59279ff3d96bo%40googlegroups.com.

Reply via email to