Add meter for GCM challenge transmissions

This commit is contained in:
Moxie Marlinspike 2019-08-01 13:30:49 -07:00
parent ebd79d388b
commit e57f78cf90
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ public class GCMSender implements Managed {
private final Map<String, Meter> outboundMeters = new HashMap<>() {{
put("receipt", metricRegistry.meter(name(getClass(), "outbound", "receipt")));
put("notification", metricRegistry.meter(name(getClass(), "outbound", "notification")));
put("challenge", metricRegistry.meter(name(getClass(), "outbound", "challenge")));
}};
private final AccountsManager accountsManager;