Count reported messages by destination country code in addition to source country code

This commit is contained in:
Jon Chambers
2022-03-18 16:43:26 -04:00
committed by Jon Chambers
parent f75e616397
commit bab6b36e4d
2 changed files with 16 additions and 3 deletions

View File

@@ -474,7 +474,7 @@ public class WhisperServerService extends Application<WhisperServerConfiguration
SubscriptionManager subscriptionManager = new SubscriptionManager(
config.getDynamoDbTables().getSubscriptions().getTableName(), dynamoDbAsyncClient);
ReportedMessageMetricsListener reportedMessageMetricsListener = new ReportedMessageMetricsListener();
ReportedMessageMetricsListener reportedMessageMetricsListener = new ReportedMessageMetricsListener(accountsManager);
reportMessageManager.addListener(reportedMessageMetricsListener);
AccountAuthenticator accountAuthenticator = new AccountAuthenticator(accountsManager);