31 instantiations of HistogramAttribute
Microsoft.Extensions.Telemetry.Abstractions.Tests (2)
Metrics\MetricAttributeTests.cs (2)
28
var attribute = new
HistogramAttribute
("d1", "d2", "d3");
94
var attribute = new
HistogramAttribute
(typeof(TagNameTest));
Microsoft.Gen.Metrics.Generated.Tests (29)
test\Generators\Microsoft.Gen.Metrics\TestClasses\AttributedWithoutNamespace.cs (1)
15
[
Histogram
]
test\Generators\Microsoft.Gen.Metrics\TestClasses\HistogramTestExtensions.cs (26)
14
[
Histogram
]
20
[
Histogram
]
26
[
Histogram
("s1")]
29
[
Histogram
("s1")]
32
[
Histogram
("s1", "s2")]
41
[
Histogram
("s1", "s2")]
44
[
Histogram
("s1", "s2", "s3")]
47
[
Histogram
("s1", "s2", "s3")]
50
[
Histogram
("s1", "s2", "s3", "s4")]
53
[
Histogram
("s1", "s2", "s3", "s4")]
56
[
Histogram
("d1", "d2")]
59
[
Histogram
("d1", "d2")]
62
[
Histogram
("s1", "d1")]
65
[
Histogram
("s1", "d1")]
68
[
Histogram
("s1", "s2", "s3", "d1", "d2")]
71
[
Histogram
("s1", "s2", "s3", "d1", "d2")]
74
[
Histogram
("s1", "s2", "s3", "s4", "s5", "d1", "d2", "d3", "d4", "d5")]
77
[
Histogram
("s1", "s2", "s3", "s4", "s5", "d1", "d2", "d3", "d4", "d5")]
80
[
Histogram
("Static:1", "Static-2", "Dyn_1", "Dyn")]
83
[
Histogram
("Static:1", "Static-2", "Dyn_1", "Dyn")]
86
[
Histogram
(MetricConstants.D1, MetricConstants.D2, MetricConstants.D3, Name = "MyHistogramMetric")]
89
[
Histogram
(MetricConstants.D1, MetricConstants.D2, MetricConstants.D3, Name = "MyHistogramMetric")]
92
[
Histogram
(typeof(HistogramDimensionsTest), Name = "MyHistogramStrongTypeMetric")]
95
[
Histogram
(typeof(HistogramDimensionsTest), Name = "MyHistogramStrongTypeMetricExt")]
98
[
Histogram
(typeof(HistogramStruct), Name = "MyHistogramStructTypeMetric")]
101
[
Histogram
(typeof(HistogramStruct), Name = "MyHistogramStructTypeMetric")]
test\Generators\Microsoft.Gen.Metrics\TestClasses\OverlappingNamesTestExtensions.cs (1)
19
[
Histogram
(typeof(StrongTypeDimensionsOverlappingNames))]
test\Generators\Microsoft.Gen.Metrics\TestClasses\Public.cs (1)
17
[
Histogram
]
7 references to HistogramAttribute
Microsoft.Extensions.Telemetry.Abstractions (2)
Metrics\HistogramAttribute.cs (2)
36
/// Initializes a new instance of the <see cref="
HistogramAttribute
"/> class.
45
/// Initializes a new instance of the <see cref="
HistogramAttribute
"/> class.
Microsoft.Extensions.Telemetry.Abstractions.Tests (2)
Metrics\MetricAttributeTests.cs (2)
28
var
attribute = new HistogramAttribute("d1", "d2", "d3");
94
var
attribute = new HistogramAttribute(typeof(TagNameTest));
Microsoft.Gen.Metrics.Unit.Tests (2)
EmitterTests.cs (1)
35
Assembly.GetAssembly(typeof(
HistogramAttribute
))!,
ParserTests.cs (1)
780
Assembly.GetAssembly(typeof(
HistogramAttribute
))!,
Microsoft.Gen.MetricsReports.Unit.Tests (1)
GeneratorTests.cs (1)
155
Assembly.GetAssembly(typeof(
HistogramAttribute
))!,