mirror of
https://github.com/valitydev/exporter-wallet-balances.git
synced 2024-11-06 02:05:22 +00:00
fix map key
This commit is contained in:
parent
448d2e910c
commit
d2697c2282
@ -24,7 +24,7 @@ public class WalletBalancesService {
|
||||
public void registerMetrics() {
|
||||
var walletsBalancesDataByInterval = openSearchService.getWalletsBalancesDataByInterval();
|
||||
for (var walletBalanceData : walletsBalancesDataByInterval) {
|
||||
var id = walletBalanceData.getWallet().getId();
|
||||
var id = walletBalanceData.getWallet().getId() + "." + walletBalanceData.getWallet().getBalance().getCurrency();
|
||||
if (!walletBalancesAggregatesMap.containsKey(id)) {
|
||||
var gauge = Gauge.builder(
|
||||
Metric.WALLET_BALANCES_AMOUNT.getName(),
|
||||
|
Loading…
Reference in New Issue
Block a user