@@ -231,7 +231,7 @@ public async Task EvictionsAreScheduled()
231
231
public void CurrentMemoryMetricTracksPooledMemory ( )
232
232
{
233
233
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" ) ;
235
235
236
236
var pool = new PinnedBlockMemoryPool ( testMeterFactory ) ;
237
237
@@ -267,7 +267,7 @@ public void CurrentMemoryMetricTracksPooledMemory()
267
267
public void TotalAllocatedMetricTracksAllocatedMemory ( )
268
268
{
269
269
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" ) ;
271
271
272
272
var pool = new PinnedBlockMemoryPool ( testMeterFactory ) ;
273
273
@@ -290,7 +290,7 @@ public void TotalAllocatedMetricTracksAllocatedMemory()
290
290
public void TotalRentedMetricTracksRentOperations ( )
291
291
{
292
292
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" ) ;
294
294
295
295
var pool = new PinnedBlockMemoryPool ( testMeterFactory ) ;
296
296
@@ -315,7 +315,7 @@ public void TotalRentedMetricTracksRentOperations()
315
315
public void EvictedMemoryMetricTracksEvictedMemory ( )
316
316
{
317
317
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" ) ;
319
319
320
320
var pool = new PinnedBlockMemoryPool ( testMeterFactory ) ;
321
321
@@ -352,7 +352,7 @@ public void EvictedMemoryMetricTracksEvictedMemory()
352
352
public void MetricsAreAggregatedAcrossPoolsWithSameMeterFactory ( )
353
353
{
354
354
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" ) ;
356
356
357
357
var pool1 = new PinnedBlockMemoryPool ( testMeterFactory ) ;
358
358
var pool2 = new PinnedBlockMemoryPool ( testMeterFactory ) ;
0 commit comments