16 references to Measures
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Latency\AcceptanceTests.cs (1)
63
Assert.True(IsMatchByName(ld.
Measures
, (m) => m.Name == measureName));
Microsoft.Extensions.Telemetry (6)
Latency\Internal\LatencyConsoleExporter.cs (6)
57
latencyData.
Measures
.Length);
92
if (_outputMeasures && latencyData.
Measures
.Length > 0)
95
for (int i = 0; i < latencyData.
Measures
.Length; i++)
97
nameColumnWidth = Math.Max(nameColumnWidth, latencyData.
Measures
[i].Name.Length);
101
for (int i = 0; i < latencyData.
Measures
.Length; i++)
103
var m = latencyData.
Measures
[i];
Microsoft.Extensions.Telemetry.Abstractions.Tests (4)
Latency\LatencyDataTests.cs (3)
16
Assert.True(ld.
Measures
.Length == 0);
32
Assert.True(ld.
Measures
.Length == num);
51
Assert.True(ld.
Measures
.Length == numMeasures);
Latency\NoopLatencyContextTests.cs (1)
74
Assert.True(latencyData.
Measures
.Length == 0);
Microsoft.Extensions.Telemetry.Tests (5)
Latency\Internal\LatencyContextProviderTests.cs (2)
61
Assert.True(lc.LatencyData.
Measures
.Length == 1);
92
Assert.True(lc.LatencyData.
Measures
.Length == 1);
Latency\Internal\LatencyContextTests.cs (3)
91
var measures = context.LatencyData.
Measures
;
116
var measures = context.LatencyData.
Measures
;
142
var measures = context.LatencyData.
Measures
;