Skip to content

Commit

Permalink
fix: redis_total_accounts_parsed metric
Browse files Browse the repository at this point in the history
  • Loading branch information
n00m4d committed Jan 30, 2025
1 parent 11e7a5c commit ea855dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nft_ingester/src/redis_receiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl UnprocessedAccountsGetter for RedisReceiver {
},
}
}
self.metrics.inc_accounts_parsed_by(result.len() as u64);
self.metrics.inc_accounts_parsed_by((result.len() + unknown_account_types_ids.len()) as u64);

UnprocessedAccountsGetter::ack(self, unknown_account_types_ids);
Ok(result)
Expand Down

0 comments on commit ea855dc

Please sign in to comment.