PromEx.ETSCronFlusher.defer_ets_flush

You're seeing just the function defer_ets_flush, go back to PromEx.ETSCronFlusher module for more information.
Link to this function

defer_ets_flush(instance)

View Source

Specs

defer_ets_flush(instance :: module()) :: :ok

This function will cancel the existing cron timer and schedule a new new. The reason for this being that if metrics scrapes occur regularly, there is no need to flush via the cron job. Cron ETS flushes should only occur if the metrics endpoint for whatever reason fails to be scraped so that ETS is not leaking memory.