make gauges more resilient to failures from the value providing function