@@ -231,7 +231,7 @@ public async Task EvictionsAreScheduled()
231231 public void CurrentMemoryMetricTracksPooledMemory ( )
232232 {
233233 var testMeterFactory = new TestMeterFactory ( ) ;
234- using var currentMemoryMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memorypool .current_memory" ) ;
234+ using var currentMemoryMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memory_pool .current_memory" ) ;
235235
236236 var pool = new PinnedBlockMemoryPool ( testMeterFactory ) ;
237237
@@ -267,7 +267,7 @@ public void CurrentMemoryMetricTracksPooledMemory()
267267 public void TotalAllocatedMetricTracksAllocatedMemory ( )
268268 {
269269 var testMeterFactory = new TestMeterFactory ( ) ;
270- using var totalMemoryMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memorypool .total_allocated" ) ;
270+ using var totalMemoryMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memory_pool .total_allocated" ) ;
271271
272272 var pool = new PinnedBlockMemoryPool ( testMeterFactory ) ;
273273
@@ -290,7 +290,7 @@ public void TotalAllocatedMetricTracksAllocatedMemory()
290290 public void TotalRentedMetricTracksRentOperations ( )
291291 {
292292 var testMeterFactory = new TestMeterFactory ( ) ;
293- using var rentMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memorypool .total_rented" ) ;
293+ using var rentMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memory_pool .total_rented" ) ;
294294
295295 var pool = new PinnedBlockMemoryPool ( testMeterFactory ) ;
296296
@@ -315,7 +315,7 @@ public void TotalRentedMetricTracksRentOperations()
315315 public void EvictedMemoryMetricTracksEvictedMemory ( )
316316 {
317317 var testMeterFactory = new TestMeterFactory ( ) ;
318- using var evictMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memorypool .evicted_memory" ) ;
318+ using var evictMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memory_pool .evicted_memory" ) ;
319319
320320 var pool = new PinnedBlockMemoryPool ( testMeterFactory ) ;
321321
@@ -352,7 +352,7 @@ public void EvictedMemoryMetricTracksEvictedMemory()
352352 public void MetricsAreAggregatedAcrossPoolsWithSameMeterFactory ( )
353353 {
354354 var testMeterFactory = new TestMeterFactory ( ) ;
355- using var rentMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memorypool .total_rented" ) ;
355+ using var rentMetric = new MetricCollector < long > ( testMeterFactory , "Microsoft.AspNetCore.MemoryPool" , "aspnetcore.memory_pool .total_rented" ) ;
356356
357357 var pool1 = new PinnedBlockMemoryPool ( testMeterFactory ) ;
358358 var pool2 = new PinnedBlockMemoryPool ( testMeterFactory ) ;
0 commit comments