100 references to CreateScope
Aspire.Dashboard.Components.Tests (100)
Controls\ApplicationSummaryTests.cs (5)
174Scope = CreateScope(), 384Scope = TelemetryTestHelpers.CreateScope(), 418Scope = TelemetryTestHelpers.CreateScope(), 439Scope = TelemetryTestHelpers.CreateScope(), 553Scope = TelemetryTestHelpers.CreateScope(),
Controls\GenAIVisualizerDialogTests.cs (5)
163Scope = CreateScope(name: "test-scope"), 223Scope = CreateScope(), 272Scope = CreateScope(), 308Scope = CreateScope(), 365Scope = CreateScope(),
Dialogs\ManageDataDialogTests.cs (2)
225Scope = CreateScope("test-scope"), 241Scope = CreateScope("test-scope"),
Layout\NavigationAvailabilityProviderTests.cs (1)
87ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord() } } }
Layout\ResourceRowAvailabilityTests.cs (6)
221ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(time: DateTime.UtcNow.AddDays(1)) } } } 232ScopeSpans = { new ScopeSpans { Scope = CreateScope(), Spans = { CreateSpan("other-trace", "other-span", DateTime.UnixEpoch.AddDays(1), DateTime.UnixEpoch.AddDays(1).AddSeconds(1)) } } } 277Scope = CreateScope(), 327ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(message: "Peer log") } } } 335ScopeMetrics = { new ScopeMetrics { Scope = CreateScope(), Metrics = { CreateSumMetric("peer.requests", DateTime.UnixEpoch) } } } 385ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(message: name) } } }
Layout\ResourcesLayoutActivityTests.cs (6)
62ScopeSpans = { new ScopeSpans { Scope = CreateScope(), Spans = 133ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(severity: severity) } } } 199Scope = CreateScope(), 342Scope = CreateScope(), 437ScopeSpans = { new ScopeSpans { Scope = CreateScope(), Spans = 507ScopeSpans = { new ScopeSpans { Scope = CreateScope(), Spans =
Layout\ResourcesLayoutTests.cs (3)
3105ScopeSpans = { new ScopeSpans { Scope = CreateScope(), Spans = { CreateSpan("trace", "span", DateTime.UnixEpoch, DateTime.UnixEpoch.AddSeconds(1)) } } } 3118ScopeMetrics = { new ScopeMetrics { Scope = CreateScope(), Metrics = { CreateSumMetric("browser.requests", DateTime.UnixEpoch) } } } 3389ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord() } } }
Pages\MetricsTests.cs (38)
404Scope = CreateScope(name: "test-meter"), 533Scope = CreateScope(name: "test-meter"), 558Scope = CreateScope(name: "test-meter"), 643Scope = CreateScope(name: "test-meter"), 690Scope = CreateScope(name: "test-meter"), 761Scope = CreateScope(name: "test-meter"), 817Scope = CreateScope(name: "test-meter"), 866Scope = CreateScope(name: "test-meter"), 935Scope = CreateScope(name: "test-meter"), 1042Scope = CreateScope(name: "test-meter"), 1115Scope = CreateScope(name: "test-meter"), 1130Scope = CreateScope(name: "test-meter"), 1182Scope = CreateScope(name: "test-meter"), 1224Scope = CreateScope(name: "test-meter"), 1284Scope = CreateScope(name: "test-meter1"), 1319Scope = CreateScope(name: "test-meter1"), 1327Scope = CreateScope(name: "test-meter2"), 1358Scope = CreateScope(name: "test-meter1"), 1367Scope = CreateScope(name: "test-meter2"), 1448Scope = CreateScope(name: "test-meter"), 1495Scope = CreateScope(name: "test-meter"), 1582Scope = CreateScope(name: "other-meter"), 1610Scope = CreateScope(name: "test-meter"), 1641Scope = CreateScope(name: "test-meter"), 1711Scope = CreateScope(name: "test-meter"), 1753Scope = CreateScope(name: "test-meter"), 1804Scope = CreateScope(name: "test-meter"), 1884Scope = CreateScope(name: "test-meter"), 1921Scope = CreateScope(name: "test-meter"), 1977Scope = CreateScope(name: "test-meter"), 2065Scope = CreateScope(name: "test-meter1"), 2070Scope = CreateScope(name: "test-meter2"), 2102var scopeMetrics = new ScopeMetrics { Scope = CreateScope(name: "test-meter1") }; 2181Scope = CreateScope(name: "test-meter"), 2215Scope = CreateScope(name: "test-meter1"), 2224Scope = CreateScope(name: "test-meter2"), 2262Scope = CreateScope(name: "test-meter"), 2277Scope = CreateScope(name: "test-meter"),
Pages\ResourceOverviewConsoleTests.cs (1)
184Scope = TelemetryTestHelpers.CreateScope(),
Pages\ResourcesTests.cs (1)
1098Scope = TelemetryTestHelpers.CreateScope("TestLogger"),
Pages\StructuredLogsTests.cs (4)
82Scope = CreateScope(name: "test-scope"), 291Scope = CreateScope(), 397Scope = CreateScope(), 606ScopeLogs = { new ScopeLogs { Scope = CreateScope(), LogRecords = { CreateLogRecord(severity: severity) } } }
Pages\TraceDetailsTests.cs (18)
57Scope = CreateScope(), 63var logs = new ScopeLogs { Scope = CreateScope(name: "test-scope") }; 124Scope = CreateScope(), 172Scope = CreateScope(), 183var scopeLogs = new ScopeLogs { Scope = CreateScope() }; 264Scope = CreateScope(), 308Scope = CreateScope(), 375Scope = CreateScope(), 443Scope = CreateScope(), 481Scope = CreateScope(), 525Scope = CreateScope(), 564Scope = CreateScope(), 603Scope = CreateScope(), 696Scope = CreateScope(), 826Scope = CreateScope(), 912Scope = CreateScope(), 1012Scope = CreateScope(), 1087Scope = CreateScope(),
Pages\TracesTests.cs (5)
145Scope = CreateScope(), 183Scope = CreateScope(), 279Scope = CreateScope(), 307Scope = CreateScope(), 379Scope = 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);