mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-02 16:02:47 +01:00
Add pqKeyAvailable tag to GetKeys metric
This commit is contained in:
committed by
Jon Chambers
parent
d17b9322b7
commit
59d984e25d
@@ -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