12 writes to Name
Microsoft.AspNetCore.HeaderParsing (2)
Metric.cs (2)
11[Counter("aspnetcore.header_parsing.header.name", "error.type", Name = "aspnetcore.header_parsing.parse_errors")] 14[Counter("aspnetcore.header_parsing.header.name", "aspnetcore.header_parsing.cache_access.type", Name = "aspnetcore.header_parsing.cache_accesses")]
Microsoft.Extensions.Diagnostics.HealthChecks.Common (2)
Metric.cs (2)
11[Counter("dotnet.health_check.status", Name = "dotnet.health_check.reports")] 14[Counter("dotnet.health_check.name", "dotnet.health_check.status", Name = "dotnet.health_check.unhealthy_checks")]
Microsoft.Extensions.Telemetry.Abstractions.Tests (2)
Metrics\MetricAttributeTests.cs (2)
21attribute.Name = MyMetric; 87attribute.Name = MyMetric;
Microsoft.Gen.Metrics.Generated.Tests (6)
test\Generators\Microsoft.Gen.Metrics\TestClasses\CounterTestExtensions.cs (6)
86[Counter(MetricConstants.D1, MetricConstants.D2, MetricConstants.D3, Name = @"MyCounterMetric")] 89[Counter(MetricConstants.D1, MetricConstants.D2, MetricConstants.D3, Name = @"MyCounterMetric")] 92[Counter(Name = @"MyMetric\Category\SingleSlash")] 95[Counter(Name = @"MyMetric\Category\SingleSlash")] 98[Counter(Name = @"MyMetric\\Category\\DoubleSlash")] 101[Counter(Name = @"MyMetric\\Category\\DoubleSlash")]
4 references to Name
Microsoft.Extensions.Telemetry.Abstractions.Tests (4)
Metrics\MetricAttributeTests.cs (4)
17Assert.Null(attribute.Name); 22Assert.Equal(MyMetric, attribute.Name); 83Assert.Null(attribute.Name); 88Assert.Equal(MyMetric, attribute.Name);