start adding stat for CU

This commit is contained in:
Bryan Stitt 2023-06-24 00:48:56 -07:00
parent 4e6a80caa2
commit 91cbce6ce8

@ -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<RwLock<Balance>>,
}