From 91cbce6ce84154d031de1c46629549c458fa3a6e Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sat, 24 Jun 2023 00:48:56 -0700 Subject: [PATCH] start adding stat for CU --- web3_proxy/src/stats/stat_buffer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/web3_proxy/src/stats/stat_buffer.rs b/web3_proxy/src/stats/stat_buffer.rs index 6badc92f..4684fe57 100644 --- a/web3_proxy/src/stats/stat_buffer.rs +++ b/web3_proxy/src/stats/stat_buffer.rs @@ -27,6 +27,7 @@ pub struct BufferedRpcQueryStats { pub sum_response_bytes: u64, pub sum_response_millis: u64, pub sum_credits_used: Decimal, + pub sum_cu_used: Decimal, /// The user's balance at this point in time. Multiple queries might be modifying it at once. pub latest_balance: Arc>, }