25 references to MeterName
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationMetrics.cs (1)
24
_meter = meterFactory.Create(
MeterName
);
Microsoft.AspNetCore.Authentication.Test (24)
AuthenticationMetricsTest.cs (24)
27
using var authenticationRequestsCollector = new MetricCollector<double>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.authenticate.duration");
33
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
55
using var authenticationRequestsCollector = new MetricCollector<double>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.authenticate.duration");
61
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
83
using var authenticationRequestsCollector = new MetricCollector<double>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.authenticate.duration");
89
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
111
using var authenticationRequestsCollector = new MetricCollector<double>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.authenticate.duration");
118
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
137
using var challengesCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.challenges");
143
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
163
using var challengesCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.challenges");
170
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
188
using var forbidsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.forbids");
194
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
214
using var forbidsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.forbids");
221
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
239
using var signInsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.sign_ins");
245
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
265
using var signInsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.sign_ins");
272
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
290
using var signOutsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.sign_outs");
296
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);
316
using var signOutsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.
MeterName
, "aspnetcore.authentication.sign_outs");
323
Assert.Equal(AuthenticationMetrics.
MeterName
, meter.Name);