mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 06:06:47 +00:00
Actually increment the Android request counter.
This commit is contained in:
1 parent
2839a95198
commit
85d1fff18f
1 file changed
+1
-1
+1
-1
@@ -99,7 +99,7 @@ class MetricsRequestEventListener implements RequestEventListener {
|
||||
final int sdkVersion = Integer.parseInt(additionalSpecifiers, ANDROID_SDK_PREFIX.length(), additionalSpecifiers.length(), 10);
|
||||
|
||||
if (sdkVersion >= MIN_ANDROID_SDK_VERSION && sdkVersion <= MAX_ANDROID_SDK_VERSION) {
|
||||
meterRegistry.counter(ANDROID_REQUEST_COUNTER_NAME, SDK_TAG, String.valueOf(sdkVersion));
|
||||
meterRegistry.counter(ANDROID_REQUEST_COUNTER_NAME, SDK_TAG, String.valueOf(sdkVersion)).increment();
|
||||
}
|
||||
} catch (final NumberFormatException ignored) {
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user