From 400b14bb206273a7a941b03ddfcdba3f13a81284 Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Fri, 1 Dec 2023 11:58:39 +1100 Subject: [PATCH] Goal::None --- .../benches/windsock/profilers/shotover_metrics.rs | 5 ++--- windsock/src/tables.rs | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shotover-proxy/benches/windsock/profilers/shotover_metrics.rs b/shotover-proxy/benches/windsock/profilers/shotover_metrics.rs index b3fe30a62..a9a85dea2 100644 --- a/shotover-proxy/benches/windsock/profilers/shotover_metrics.rs +++ b/shotover-proxy/benches/windsock/profilers/shotover_metrics.rs @@ -73,7 +73,7 @@ impl ShotoverMetrics { let Value::Gauge(x) = x else { panic!("metric type changed during bench run") }; - (*x, x.to_string(), Goal::SmallerIsBetter) // TODO: Goal::None + (*x, x.to_string(), Goal::None) }) .collect(), }); @@ -90,8 +90,7 @@ impl ShotoverMetrics { }; let diff = x - prev; prev = *x; - (diff, diff.to_string(), Goal::SmallerIsBetter) - // TODO: Goal::None + (diff, diff.to_string(), Goal::None) }) .collect(), }); diff --git a/windsock/src/tables.rs b/windsock/src/tables.rs index 95431d0ed..239d5c13e 100644 --- a/windsock/src/tables.rs +++ b/windsock/src/tables.rs @@ -783,6 +783,7 @@ struct Measurement { pub enum Goal { BiggerIsBetter, SmallerIsBetter, + None, } enum Color {