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)
27using var authenticationRequestsCollector = new MetricCollector<double>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.authenticate.duration"); 33Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 55using var authenticationRequestsCollector = new MetricCollector<double>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.authenticate.duration"); 61Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 83using var authenticationRequestsCollector = new MetricCollector<double>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.authenticate.duration"); 89Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 111using var authenticationRequestsCollector = new MetricCollector<double>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.authenticate.duration"); 118Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 137using var challengesCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.challenges"); 143Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 163using var challengesCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.challenges"); 170Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 188using var forbidsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.forbids"); 194Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 214using var forbidsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.forbids"); 221Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 239using var signInsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.sign_ins"); 245Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 265using var signInsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.sign_ins"); 272Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 290using var signOutsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.sign_outs"); 296Assert.Equal(AuthenticationMetrics.MeterName, meter.Name); 316using var signOutsCollector = new MetricCollector<long>(meterFactory, AuthenticationMetrics.MeterName, "aspnetcore.authentication.sign_outs"); 323Assert.Equal(AuthenticationMetrics.MeterName, meter.Name);