16 references to CounterAttribute
Microsoft.Extensions.Telemetry.Abstractions.Tests (1)
Metrics\MetricAttributeTests.cs (1)
41var attribute = new CounterAttribute<int>("d1", "d2", "d3");
Microsoft.Gen.Metrics.Generated.Tests (15)
test\Generators\Microsoft.Gen.Metrics\TestClasses\CounterTestExtensions.cs (6)
11[Counter<int>] 14[Counter<int>] 26[Counter<int>("s1")] 29[Counter<int>("s1")] 32[Counter<float>("s1")] 35[Counter<float>("s1")]
test\Generators\Microsoft.Gen.Metrics\TestClasses\FileScopedNamespaceExtensions.cs (1)
14[Counter<double>]
test\Generators\Microsoft.Gen.Metrics\TestClasses\MetricRecordClassTestExtensions.cs (1)
11[Counter<int>]
test\Generators\Microsoft.Gen.Metrics\TestClasses\MetricRecordStructTestExtensions.cs (1)
11[Counter<int>]
test\Generators\Microsoft.Gen.Metrics\TestClasses\MetricStructTestExtensions.cs (1)
11[Counter<int>]
test\Generators\Microsoft.Gen.Metrics\TestClasses\NestedClassMetrics.cs (2)
16[Counter<int>] 27[Counter<int>]
test\Generators\Microsoft.Gen.Metrics\TestClasses\NestedRecordClassMetrics.cs (1)
16[Counter<int>]
test\Generators\Microsoft.Gen.Metrics\TestClasses\NestedRecordStructMetrics.cs (1)
16[Counter<int>]
test\Generators\Microsoft.Gen.Metrics\TestClasses\NestedStructMetrics.cs (1)
16[Counter<int>]