4 instantiations of RoutingMetrics
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
Microsoft.AspNetCore.Routing.Tests (3)
17 references to RoutingMetrics
Microsoft.AspNetCore.Routing (3)
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
Microsoft.AspNetCore.Routing.Tests (13)
RoutingMetricsTests.cs (11)
38using var routingMatchAttemptsCollector = new MetricCollector<long>(meterFactory, RoutingMetrics.MeterName, "aspnetcore.routing.match_attempts");
44Assert.Equal(RoutingMetrics.MeterName, meter.Name);
66using var routingMatchAttemptsCollector = new MetricCollector<long>(meterFactory, RoutingMetrics.MeterName, "aspnetcore.routing.match_attempts");
72Assert.Equal(RoutingMetrics.MeterName, meter.Name);
100using var routingMatchAttemptsCollector = new MetricCollector<long>(meterFactory, RoutingMetrics.MeterName, "aspnetcore.routing.match_attempts");
106Assert.Equal(RoutingMetrics.MeterName, meter.Name);
127using var routingMatchAttemptsCollector = new MetricCollector<long>(meterFactory, RoutingMetrics.MeterName, "aspnetcore.routing.match_attempts");
133Assert.Equal(RoutingMetrics.MeterName, meter.Name);
151using var routingMatchAttemptsCollector = new MetricCollector<long>(meterFactory, RoutingMetrics.MeterName, "aspnetcore.routing.match_attempts");
157Assert.Equal(RoutingMetrics.MeterName, meter.Name);
189var metrics = new RoutingMetrics(meterFactory ?? new TestMeterFactory());