Add pqKeyAvailable tag to GetKeys metric
This commit is contained in:
parent
d17b9322b7
commit
59d984e25d
|
@ -381,7 +381,8 @@ public class KeysController {
|
||||||
Metrics.counter(GET_KEYS_COUNTER_NAME, Tags.of(
|
Metrics.counter(GET_KEYS_COUNTER_NAME, Tags.of(
|
||||||
UserAgentTagUtil.getPlatformTag(userAgent),
|
UserAgentTagUtil.getPlatformTag(userAgent),
|
||||||
Tag.of(IDENTITY_TYPE_TAG_NAME, targetIdentifier.identityType().name()),
|
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();
|
.increment();
|
||||||
|
|
||||||
if (signedEcPreKey != null || unsignedEcPreKey != null || pqPreKey != null) {
|
if (signedEcPreKey != null || unsignedEcPreKey != null || pqPreKey != null) {
|
||||||
|
|
Loading…
Reference in New Issue