Skip to content

Commit 81db799

Browse files
Typo in AuthenticationMetrics.cs description (#61312)
* Typo in AuthenticationMetrics.cs description Copy/paste error? * Update src/Http/Authentication.Core/src/AuthenticationMetrics.cs Co-authored-by: Stephen Halter <[email protected]> * Update sign-in counter description --------- Co-authored-by: Stephen Halter <[email protected]>
1 parent 614e753 commit 81db799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Http/Authentication.Core/src/AuthenticationMetrics.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public AuthenticationMetrics(IMeterFactory meterFactory)
4242
_signInCount = _meter.CreateCounter<long>(
4343
"aspnetcore.authentication.sign_ins",
4444
unit: "{request}",
45-
description: "The total number of times a principal is signed in.");
45+
description: "The total number of times a principal is signed in with a scheme.");
4646

4747
_signOutCount = _meter.CreateCounter<long>(
4848
"aspnetcore.authentication.sign_outs",
4949
unit: "{request}",
50-
description: "The total number of times a scheme is signed out.");
50+
description: "The total number of times a principal is signed out with a scheme.");
5151
}
5252

5353
public void AuthenticatedRequestCompleted(string? scheme, AuthenticateResult? result, Exception? exception, long startTimestamp, long currentTimestamp)

0 commit comments

Comments
 (0)