72 references to CreateScope
Aspire.Dashboard.Components.Tests (72)
Controls\GenAIVisualizerDialogTests.cs (5)
163Scope = CreateScope(name: "test-scope"), 223Scope = CreateScope(), 272Scope = CreateScope(), 308Scope = CreateScope(), 365Scope = CreateScope(),
Dialogs\ManageDataDialogTests.cs (2)
208Scope = CreateScope("test-scope"), 224Scope = CreateScope("test-scope"),
Layout\NavigationAvailabilityProviderTests.cs (1)
87ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord() } } }
Layout\ResourcesLayoutTests.cs (1)
1522ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord() } } }
Pages\MetricsTests.cs (32)
395Scope = CreateScope(name: "test-meter"), 466Scope = CreateScope(name: "test-meter"), 522Scope = CreateScope(name: "test-meter"), 571Scope = CreateScope(name: "test-meter"), 640Scope = CreateScope(name: "test-meter"), 747Scope = CreateScope(name: "test-meter"), 820Scope = CreateScope(name: "test-meter"), 835Scope = CreateScope(name: "test-meter"), 887Scope = CreateScope(name: "test-meter"), 929Scope = CreateScope(name: "test-meter"), 995Scope = CreateScope(name: "test-meter1"), 1030Scope = CreateScope(name: "test-meter1"), 1038Scope = CreateScope(name: "test-meter2"), 1069Scope = CreateScope(name: "test-meter1"), 1078Scope = CreateScope(name: "test-meter2"), 1159Scope = CreateScope(name: "test-meter"), 1206Scope = CreateScope(name: "test-meter"), 1293Scope = CreateScope(name: "other-meter"), 1321Scope = CreateScope(name: "test-meter"), 1352Scope = CreateScope(name: "test-meter"), 1421Scope = CreateScope(name: "test-meter"), 1463Scope = CreateScope(name: "test-meter"), 1539Scope = CreateScope(name: "test-meter"), 1579Scope = CreateScope(name: "test-meter"), 1667Scope = CreateScope(name: "test-meter1"), 1672Scope = CreateScope(name: "test-meter2"), 1704var scopeMetrics = new ScopeMetrics { Scope = CreateScope(name: "test-meter1") }; 1783Scope = CreateScope(name: "test-meter"), 1817Scope = CreateScope(name: "test-meter1"), 1826Scope = CreateScope(name: "test-meter2"), 1864Scope = CreateScope(name: "test-meter"), 1879Scope = CreateScope(name: "test-meter"),
Pages\ResourcesTests.cs (1)
1020Scope = TelemetryTestHelpers.CreateScope("TestLogger"),
Pages\StructuredLogsTests.cs (3)
78Scope = CreateScope(name: "test-scope"), 287Scope = CreateScope(), 393Scope = CreateScope(),
Pages\TraceDetailsTests.cs (18)
55Scope = CreateScope(), 61var logs = new ScopeLogs { Scope = CreateScope(name: "test-scope") }; 111Scope = CreateScope(), 159Scope = CreateScope(), 170var scopeLogs = new ScopeLogs { Scope = CreateScope() }; 252Scope = CreateScope(), 296Scope = CreateScope(), 363Scope = CreateScope(), 431Scope = CreateScope(), 469Scope = CreateScope(), 513Scope = CreateScope(), 552Scope = CreateScope(), 591Scope = CreateScope(), 684Scope = CreateScope(), 814Scope = CreateScope(), 900Scope = CreateScope(), 983Scope = CreateScope(), 1058Scope = CreateScope(),
Pages\TracesTests.cs (4)
111Scope = CreateScope(), 149Scope = CreateScope(), 208Scope = CreateScope(), 286Scope = CreateScope(),
Shared\TelemetryHelpSetupHelpers.cs (3)
45ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(message: "test") } } } 53ScopeSpans = { new ScopeSpans { Scope = CreateScope(), Spans = { CreateSpan("trace", "span", DateTime.UnixEpoch, DateTime.UnixEpoch.AddSeconds(1)) } } } 61ScopeMetrics = { new ScopeMetrics { Scope = CreateScope(), Metrics = { CreateSumMetric("test", DateTime.UnixEpoch) } } }
tests\Shared\Telemetry\HistogramTestHelpers.cs (1)
37Scope = CreateScope("test-meter"),
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
49var scope = CreateScope(name, attributes);