mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 05:36:47 +00:00
Add pqKeyAvailable tag to GetKeys metric
This commit is contained in:
1 parent
d17b9322b7
commit
59d984e25d
1 file changed
+2
-1
+2
-1
@@ -381,7 +381,8 @@ public class KeysController {
|
||||
Metrics.counter(GET_KEYS_COUNTER_NAME, Tags.of(
|
||||
UserAgentTagUtil.getPlatformTag(userAgent),
|
||||
Tag.of(IDENTITY_TYPE_TAG_NAME, targetIdentifier.identityType().name()),
|
||||
Tag.of("oneTimeEcKeyAvailable", String.valueOf(unsignedEcPreKey != null))))
|
||||
Tag.of("oneTimeEcKeyAvailable", String.valueOf(unsignedEcPreKey != null)),
|
||||
Tag.of("pqKeyAvailable", String.valueOf(pqPreKey != null))))
|
||||
.increment();
|
||||
|
||||
if (signedEcPreKey != null || unsignedEcPreKey != null || pqPreKey != null) {
|
||||
|
||||
Reference in new issue
Block a user