Actually increment the international unsealed-sender counter instead of just declaring its existence.

This commit is contained in:
Jon Chambers 2021-02-23 15:32:21 -05:00 committed by Jon Chambers
parent 78bbe8855b
commit 7dabc92447
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ public class MessageController {
rateLimiters.getMessagesLimiter().validate(source.get().getUuid() + "__" + destination.get().getUuid());
if (!Util.getCountryCode(source.get().getNumber()).equals(destination.get().getNumber())) {
Metrics.counter(INTERNATIONAL_UNSEALED_SENDER_COUNTER_NAME, SENDER_COUNTRY_TAG_NAME, Util.getCountryCode(source.get().getNumber()));
Metrics.counter(INTERNATIONAL_UNSEALED_SENDER_COUNTER_NAME, SENDER_COUNTRY_TAG_NAME, Util.getCountryCode(source.get().getNumber())).increment();
}
}