33 references to Counter
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 (1)
Metrics\MetricAttributeTests.cs (1)
15
var attribute = new
CounterAttribute
("d1", "d2", "d3");
Microsoft.Gen.Metrics.Generated.Tests (28)
test\Generators\Microsoft.Gen.Metrics\TestClasses\AttributedWithoutNamespace.cs (1)
12
[
Counter
]
test\Generators\Microsoft.Gen.Metrics\TestClasses\CounterTestExtensions.cs (25)
17
[
Counter
]
20
[
Counter
]
23
[
Counter
]
38
[
Counter
("s1", "s2")]
41
[
Counter
("s1", "s2")]
44
[
Counter
("s1", "s2", "s3")]
47
[
Counter
("s1", "s2", "s3")]
50
[
Counter
("s1", "s2", "s3", "s4")]
53
[
Counter
("s1", "s2", "s3", "s4")]
56
[
Counter
("d1", "d2")]
59
[
Counter
("d1", "d2")]
62
[
Counter
("s1", "d1")]
65
[
Counter
("s1", "d1")]
68
[
Counter
("s1", "s2", "s3", "d1", "d2")]
71
[
Counter
("s1", "s2", "s3", "d1", "d2")]
74
[
Counter
("s1", "s2", "s3", "s4", "s5", "d1", "d2", "d3", "d4", "d5")]
77
[
Counter
("s1", "s2", "s3", "s4", "s5", "d1", "d2", "d3", "d4", "d5")]
80
[
Counter
("Static:1", "Static-2", "Dyn_1", "Dyn")]
83
[
Counter
("Static:1", "Static-2", "Dyn_1", "Dyn")]
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")]
test\Generators\Microsoft.Gen.Metrics\TestClasses\FileScopedNamespaceExtensions.cs (1)
11
[
Counter
]
test\Generators\Microsoft.Gen.Metrics\TestClasses\Public.cs (1)
14
[
Counter
]