Actually increment the "get group credentials" counter

This commit is contained in:
Jon Chambers 2024-03-08 17:07:16 -05:00
parent e236842888
commit 85b15fa63b
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,8 @@ public class CertificateController {
}
Metrics.counter(GET_GROUP_AUTHENTICATION_CREDENTIALS_COUNTER_NAME,
Tags.of(UserAgentTagUtil.getPlatformTag(userAgent)).and("pniAsServiceId", String.valueOf(pniAsServiceId)));
Tags.of(UserAgentTagUtil.getPlatformTag(userAgent)).and("pniAsServiceId", String.valueOf(pniAsServiceId)))
.increment();
return new GroupCredentials(credentials, callLinkAuthCredentials, pni.getRawUUID());
}