15 references to CreateScope
Aspire.Dashboard.Playwright.Tests (15)
Integration\Playwright\AspireMenuLayoutTests.cs (1)
49Scope = CreateScope(),
Integration\Playwright\NativeAotDashboardTests.cs (1)
145Scope = TelemetryTestHelpers.CreateScope(),
Integration\Playwright\ResourcePaneInteractionTests.cs (1)
578Scope = CreateScope(),
Integration\Playwright\ResourcePanelNavigationTests.cs (6)
194ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(message: message) } } } 202ScopeSpans = { new ScopeSpans { Scope = CreateScope(), Spans = { CreateSpan("preloaded-trace", "preloaded-span", now, now.AddMilliseconds(10)) } } } 257ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(message: "Another resource's log") } } } 310ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(message: "Sidebar availability test") } } } 318ScopeSpans = { new ScopeSpans { Scope = CreateScope(), Spans = { CreateSpan("availability-trace", "availability-span", now, now.AddMilliseconds(10)) } } } 326ScopeMetrics = { new ScopeMetrics { Scope = CreateScope(), Metrics = { CreateSumMetric("availability.requests", now) } } }
Integration\Playwright\ResourcePaneResponsiveTests.cs (2)
2208ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(message: $"{name} failed", severity: SeverityNumber.Error) } } } 2804Scope = CreateScope(),
Integration\Playwright\TracesLayoutTests.cs (2)
51Scope = CreateScope(), 158Scope = CreateScope(),
tests\Shared\Telemetry\HistogramTestHelpers.cs (1)
37Scope = CreateScope("test-meter"),
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
49var scope = CreateScope(name, attributes);