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