From 5af0f228ed52f1ba6b68bf005118415489fc5913 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 7 Feb 2025 01:46:37 +0100 Subject: [PATCH] don't update the counters at all, forgot that those are still in there --- pageserver/src/metrics.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pageserver/src/metrics.rs b/pageserver/src/metrics.rs index af33a4f341..1eedb9a309 100644 --- a/pageserver/src/metrics.rs +++ b/pageserver/src/metrics.rs @@ -1327,10 +1327,10 @@ impl SmgrOpFlushInProgress { let mut observe_guard = scopeguard::guard( || { let elapsed = now - self.base; - self.global_micros - .inc_by(u64::try_from(elapsed.as_micros()).unwrap()); - self.per_timeline_micros - .inc_by(u64::try_from(elapsed.as_micros()).unwrap()); + // self.global_micros + // .inc_by(u64::try_from(elapsed.as_micros()).unwrap()); + // self.per_timeline_micros + // .inc_by(u64::try_from(elapsed.as_micros()).unwrap()); self.base = now; }, |mut observe| {