You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,12 +29,12 @@ public SignInManagerMetrics(IMeterFactory meterFactory)
29
29
{
30
30
_meter=meterFactory.Create(MeterName);
31
31
32
-
_authenticateCounter=_meter.CreateCounter<long>(AuthenticateCounterName,"count","The number of authenticate attempts. The authenticate counter is incremented by sign in methods such as PasswordSignInAsync and TwoFactorSignInAsync.");
33
-
_rememberTwoFactorClientCounter=_meter.CreateCounter<long>(RememberTwoFactorCounterName,"count","The number of two factor clients remembered.");
34
-
_forgetTwoFactorCounter=_meter.CreateCounter<long>(ForgetTwoFactorCounterName,"count","The number of two factor clients forgotten.");
35
-
_checkPasswordCounter=_meter.CreateCounter<long>(CheckPasswordCounterName,"count","The number of check password attempts. Checks that the account is in a state that can log in and that the password is valid using the UserManager.CheckPasswordAsync method.");
36
-
_signInUserPrincipalCounter=_meter.CreateCounter<long>(SignInUserPrincipalCounterName,"count","The number of calls to sign in user principals.");
37
-
_signOutUserPrincipalCounter=_meter.CreateCounter<long>(SignOutUserPrincipalCounterName,"count","The number of calls to sign out user principals.");
32
+
_authenticateCounter=_meter.CreateCounter<long>(AuthenticateCounterName,"{count}","The number of authenticate attempts. The authenticate counter is incremented by sign in methods such as PasswordSignInAsync and TwoFactorSignInAsync.");
33
+
_rememberTwoFactorClientCounter=_meter.CreateCounter<long>(RememberTwoFactorCounterName,"{count}","The number of two factor clients remembered.");
34
+
_forgetTwoFactorCounter=_meter.CreateCounter<long>(ForgetTwoFactorCounterName,"{count}","The number of two factor clients forgotten.");
35
+
_checkPasswordCounter=_meter.CreateCounter<long>(CheckPasswordCounterName,"{check}","The number of check password attempts. Checks that the account is in a state that can log in and that the password is valid using the UserManager.CheckPasswordAsync method.");
36
+
_signInUserPrincipalCounter=_meter.CreateCounter<long>(SignInUserPrincipalCounterName,"{sign_in}","The number of calls to sign in user principals.");
37
+
_signOutUserPrincipalCounter=_meter.CreateCounter<long>(SignOutUserPrincipalCounterName,"{sign_out}","The number of calls to sign out user principals.");
_createCounter=_meter.CreateCounter<long>(CreateCounterName,"count","The number of users created.");
36
-
_updateCounter=_meter.CreateCounter<long>(UpdateCounterName,"count","The number of user updates.");
37
-
_deleteCounter=_meter.CreateCounter<long>(DeleteCounterName,"count","The number of users deleted.");
38
-
_checkPasswordCounter=_meter.CreateCounter<long>(CheckPasswordCounterName,"count","The number of check password attempts. Only checks whether the password is valid and not whether the user account is in a state that can log in.");
39
-
_verifyTokenCounter=_meter.CreateCounter<long>(VerifyTokenCounterName,"count","The number of token verification attempts.");
40
-
_generateTokenCounter=_meter.CreateCounter<long>(GenerateTokenCounterName,"count","The number of token generation attempts.");
35
+
_createCounter=_meter.CreateCounter<long>(CreateCounterName,"{user}","The number of users created.");
36
+
_updateCounter=_meter.CreateCounter<long>(UpdateCounterName,"{user}","The number of users updated.");
37
+
_deleteCounter=_meter.CreateCounter<long>(DeleteCounterName,"{user}","The number of users deleted.");
38
+
_checkPasswordCounter=_meter.CreateCounter<long>(CheckPasswordCounterName,"{check}","The number of check password attempts. Only checks whether the password is valid and not whether the user account is in a state that can log in.");
39
+
_verifyTokenCounter=_meter.CreateCounter<long>(VerifyTokenCounterName,"{count}","The number of token verification attempts.");
40
+
_generateTokenCounter=_meter.CreateCounter<long>(GenerateTokenCounterName,"{count}","The number of token generation attempts.");
0 commit comments