From 0dd2e0d744c79ec2f09e71fb1d34f10c215b8fb4 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 7 Feb 2025 02:48:53 +0100 Subject: [PATCH] don't haul those useless arcs around --- pageserver/src/metrics.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pageserver/src/metrics.rs b/pageserver/src/metrics.rs index 2384a1da09..58959f0e7a 100644 --- a/pageserver/src/metrics.rs +++ b/pageserver/src/metrics.rs @@ -1230,9 +1230,6 @@ pub(crate) struct SmgrOpTimerInner { // Optional because not all op types are tracked per-timeline per_timeline_latency_histo: Option, - global_flush_in_progress_micros: IntCounter, - per_timeline_flush_in_progress_micros: IntCounter, - start: Instant, throttled: Duration, op: SmgrQueryType, @@ -1580,10 +1577,6 @@ impl SmgrQueryTimePerTimeline { start: started_at, op, throttled: Duration::ZERO, - global_flush_in_progress_micros: self.global_flush_in_progress_micros.clone(), - per_timeline_flush_in_progress_micros: self - .per_timeline_flush_in_progress_micros - .clone(), })) }