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
Copy file name to clipboardExpand all lines: src/Identity/Core/src/SignInManagerMetrics.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ public SignInManagerMetrics(IMeterFactory meterFactory)
30
30
{
31
31
_meter=meterFactory.Create(MeterName);
32
32
33
-
_authenticateDuration=_meter.CreateHistogram<double>(AuthenticateDurationName,"s","The number of authenticate attempts. The authenticate counter is incremented by sign in methods such as PasswordSignInAsync and TwoFactorSignInAsync.");
33
+
_authenticateDuration=_meter.CreateHistogram<double>(AuthenticateDurationName,"s","The duration of authenticate attempts. The authenticate metrics is recorded by sign in methods such as PasswordSignInAsync and TwoFactorSignInAsync.");
34
34
_rememberTwoFactorClientCounter=_meter.CreateCounter<long>(RememberedTwoFactorCounterName,"{client}","The number of two factor clients remembered.");
35
35
_forgetTwoFactorCounter=_meter.CreateCounter<long>(ForgottenTwoFactorCounterName,"{client}","The number of two factor clients forgotten.");
36
36
_checkPasswordCounter=_meter.CreateCounter<long>(CheckPasswordAttemptsCounterName,"{attempts}","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.");
_createDuration=_meter.CreateHistogram<double>(CreateDurationName,"s","The number of users created.");
37
-
_updateDuration=_meter.CreateHistogram<double>(UpdateDurationName,"s","The number of users updated.");
38
-
_deleteDuration=_meter.CreateHistogram<double>(DeleteDurationName,"s","The number of users deleted.");
39
-
_checkPasswordAttemptsCounter=_meter.CreateCounter<long>(CheckPasswordCounterName,"{attempt}","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.");
36
+
_createDuration=_meter.CreateHistogram<double>(CreateDurationName,"s","The duration of creating users.");
37
+
_updateDuration=_meter.CreateHistogram<double>(UpdateDurationName,"s","The duration of updating users.");
38
+
_deleteDuration=_meter.CreateHistogram<double>(DeleteDurationName,"s","The duration of deleting users.");
39
+
_checkPasswordAttemptsCounter=_meter.CreateCounter<long>(CheckPasswordAttemptsCounterName,"{attempt}","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.");
40
40
_verifyTokenAttemptsCounter=_meter.CreateCounter<long>(VerifyTokenAttemptsCounterName,"{attempt}","The number of token verification attempts.");
41
41
_generateTokensCounter=_meter.CreateCounter<long>(GenerateTokensCounterName,"{count}","The number of token generations.");
0 commit comments