From 792faa8aaf4bf4c0f1a0fb0ae3edda6a5bd8ebfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Demay?= Date: Tue, 7 May 2024 14:32:31 +0000 Subject: [PATCH] fix(ckerc20): fix label clash in metrics --- rs/ethereum/cketh/minter/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rs/ethereum/cketh/minter/src/main.rs b/rs/ethereum/cketh/minter/src/main.rs index 4772ca4dc36..fd7a78b5f72 100644 --- a/rs/ethereum/cketh/minter/src/main.rs +++ b/rs/ethereum/cketh/minter/src/main.rs @@ -864,8 +864,8 @@ fn http_request(req: HttpRequest) -> HttpResponse { "Known amount of ERC-20 on the minter's address", )?; for (token, balance) in s.erc20_balances_by_token_symbol().iter() { - erc20_balances = - erc20_balances.value(&[("token", &token.to_string())], balance.as_f64())?; + erc20_balances = erc20_balances + .value(&[("erc20_token", &token.to_string())], balance.as_f64())?; } w.encode_gauge( "cketh_minter_total_effective_tx_fees",