13 references to MeterName
Microsoft.AspNetCore.Authorization (1)
AuthorizationMetrics.cs (1)
25_meter = meterFactory.Create(MeterName);
Microsoft.AspNetCore.Authorization.Test (12)
AuthorizationMetricsTest.cs (12)
22using var authorizedRequestsCollector = new MetricCollector<long>(meterFactory, AuthorizationMetrics.MeterName, "aspnetcore.authorization.attempts"); 28Assert.Equal(AuthorizationMetrics.MeterName, meter.Name); 47using var authorizedRequestsCollector = new MetricCollector<long>(meterFactory, AuthorizationMetrics.MeterName, "aspnetcore.authorization.attempts"); 53Assert.Equal(AuthorizationMetrics.MeterName, meter.Name); 72using var authorizedRequestsCollector = new MetricCollector<long>(meterFactory, AuthorizationMetrics.MeterName, "aspnetcore.authorization.attempts"); 78Assert.Equal(AuthorizationMetrics.MeterName, meter.Name); 101using var authorizedRequestsCollector = new MetricCollector<long>(meterFactory, AuthorizationMetrics.MeterName, "aspnetcore.authorization.attempts"); 107Assert.Equal(AuthorizationMetrics.MeterName, meter.Name); 126using var authorizedRequestsCollector = new MetricCollector<long>(meterFactory, AuthorizationMetrics.MeterName, "aspnetcore.authorization.attempts"); 132Assert.Equal(AuthorizationMetrics.MeterName, meter.Name); 154using var authorizedRequestsCollector = new MetricCollector<long>(meterFactory, AuthorizationMetrics.MeterName, "aspnetcore.authorization.attempts"); 161Assert.Equal(AuthorizationMetrics.MeterName, meter.Name);