From 172baabb4e62e682cc2a6d123cdc3851bc6f76d5 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 5 Jun 2023 16:40:43 -0700 Subject: [PATCH] even more fields onto popularity contest --- web3_proxy/src/bin/web3_proxy_cli/popularity_contest.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web3_proxy/src/bin/web3_proxy_cli/popularity_contest.rs b/web3_proxy/src/bin/web3_proxy_cli/popularity_contest.rs index 610afe8a..0fd08af4 100644 --- a/web3_proxy/src/bin/web3_proxy_cli/popularity_contest.rs +++ b/web3_proxy/src/bin/web3_proxy_cli/popularity_contest.rs @@ -130,8 +130,9 @@ impl PopularityContestSubCommand { "tier_request_pct", "total_pct", "head_lag", - "head_latency", - "request_latency", + "head_latency_ms", + "peak_latency_ms", + "peak_ewma_ms", ]); let total_requests = total_requests as f32; @@ -163,6 +164,7 @@ impl PopularityContestSubCommand { highest_block - rpc.head_block, format!("{:.3}", rpc.head_latency_ms), format!("{:.3}", rpc.peak_latency_ms), + format!("{:.3}", rpc.peak_ewma_ms), ]); } }