// Gauge obtains a gauge for the given name.
if v, ok := tmh.gauges.Load(gauge); ok {
return v.(GaugeIface) //nolint:revive // type-safe: only GaugeIface is stored
}
tmh.cachedTaggedScope(t).Gauge(gauge).Update(f)
})
actual, _ := tmh.gauges.LoadOrStore(gauge, g)
return actual.(GaugeIface) //nolint:revive // type-safe: only GaugeIface is stored
}