fix gauge rate case

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2026-03-28 11:42:31 +08:00
parent d6f17a04cf
commit 2f6f181d1a

View File

@@ -69,7 +69,9 @@ impl<const IS_COUNTER: bool, const IS_RATE: bool> ExtrapolatedRate<IS_COUNTER, I
(true, true) => "prom_rate",
(true, false) => "prom_increase",
(false, false) => "prom_delta",
(false, true) => "prom_delta",
(false, true) => {
unreachable!("gauge rate is not supported by ExtrapolatedRate")
}
}
}