343 instantiations of AddContext
Aspire.Dashboard (6)
Model\TelemetryImportService.cs (3)
177
var addContext = new
AddContext
();
188
var addContext = new
AddContext
();
199
var addContext = new
AddContext
();
Otlp\OtlpLogsService.cs (1)
25
var addContext = new
AddContext
();
Otlp\OtlpMetricsService.cs (1)
25
var addContext = new
AddContext
();
Otlp\OtlpTraceService.cs (1)
25
var addContext = new
AddContext
();
Aspire.Dashboard.Components.Tests (34)
Controls\GenAIVisualizerDialogTests.cs (3)
135
await repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
186
var addContext = new
AddContext
();
270
var addContext = new
AddContext
();
Dialogs\ManageDataDialogTests.cs (2)
165
await repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
181
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
Pages\MetricsTests.cs (11)
85
await telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
148
await telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
199
await FluentUISetupHelpers.ConfigureTelemetryRepository(this, readOnly: true, telemetryRepository => telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
262
await telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
365
await telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
434
await telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
491
await telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
557
await telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
602
await telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
651
await FluentUISetupHelpers.ConfigureTelemetryRepository(this, readOnly: true, telemetryRepository => telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
700
await telemetryRepository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
Pages\ResourcesTests.cs (1)
595
var addContext = new
AddContext
();
Pages\StructuredLogsTests.cs (2)
40
await telemetryRepository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
302
await FluentUISetupHelpers.ConfigureTelemetryRepository(this, isReadOnly, telemetryRepository => telemetryRepository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
Pages\TraceDetailsTests.cs (14)
50
await telemetryRepository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
112
await telemetryRepository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
156
await telemetryRepository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
222
await telemetryRepository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
290
await telemetryRepository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
328
await telemetryRepository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
372
await telemetryRepository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
411
await telemetryRepository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
449
await telemetryRepository.AddTracesAsync(new
AddContext
(),
542
await telemetryRepository.AddTracesAsync(new
AddContext
(),
672
await telemetryRepository.AddTracesAsync(new
AddContext
(),
758
await telemetryRepository.AddTracesAsync(new
AddContext
(),
841
await telemetryRepository.AddTracesAsync(new
AddContext
(),
916
await telemetryRepository.AddTracesAsync(new
AddContext
(),
Pages\TracesTests.cs (1)
78
await FluentUISetupHelpers.ConfigureTelemetryRepository(this, isReadOnly, telemetryRepository => telemetryRepository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
Aspire.Dashboard.Tests (303)
Model\DashboardDataSourceTests.cs (1)
1065
await telemetryContext.Repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
Model\GenAIVisualizerDialogViewModelTests.cs (30)
30
var addContext = new
AddContext
();
81
var addContext = new
AddContext
();
130
var addContext = new
AddContext
();
228
var addContext = new
AddContext
();
328
var addContext = new
AddContext
();
407
var addContext = new
AddContext
();
457
var addContext = new
AddContext
();
538
var addContext = new
AddContext
();
655
var addContext = new
AddContext
();
736
var addContext = new
AddContext
();
821
var addContext = new
AddContext
();
875
var addContext = new
AddContext
();
952
var addContext = new
AddContext
();
1036
var addContext = new
AddContext
();
1145
var addContext = new
AddContext
();
1217
var addContext = new
AddContext
();
1260
var addContext = new
AddContext
();
1348
var addContext = new
AddContext
();
1438
var addContext = new
AddContext
();
1512
var addContext = new
AddContext
();
1621
var addContext = new
AddContext
();
1701
var addContext = new
AddContext
();
1739
var addContext = new
AddContext
();
1861
var addContext = new
AddContext
();
1922
var addContext = new
AddContext
();
2005
var addContext = new
AddContext
();
2111
var addContext = new
AddContext
();
2198
var addContext = new
AddContext
();
2271
var addContext = new
AddContext
();
2341
var addContext = new
AddContext
();
Model\ResourceMenuBuilderTests.cs (2)
120
var addContext = new
AddContext
();
172
var addContext = new
AddContext
();
Model\StructuredLogsPageViewModelTests.cs (1)
236
await repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
Model\TelemetryExportServiceTests.cs (23)
41
var addContext = new
AddContext
();
109
var addContext = new
AddContext
();
148
var addContext = new
AddContext
();
230
var addContext = new
AddContext
();
268
var addContext = new
AddContext
();
347
var addContext = new
AddContext
();
391
var addContext = new
AddContext
();
441
var addContext = new
AddContext
();
524
var addContext = new
AddContext
();
606
var addContext = new
AddContext
();
750
var addContext = new
AddContext
();
802
await repositoryContext.Repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
853
await repositoryContext.Repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
893
var addContext = new
AddContext
();
953
var addContext = new
AddContext
();
1037
var addContext = new
AddContext
();
1075
var addContext = new
AddContext
();
1128
var addContext = new
AddContext
();
1189
var addContext = new
AddContext
();
1230
var addContext = new
AddContext
();
1290
await repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>()
1306
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
1325
await repository.AddMetricsAsync(new
AddContext
(), new RepeatedField<OpenTelemetry.Proto.Metrics.V1.ResourceMetrics>()
Model\TelemetryImportServiceTests.cs (4)
303
var addContext = new
AddContext
();
356
var addContext = new
AddContext
();
390
await targetRepository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
435
var addContext = new
AddContext
();
TelemetryApiServiceTests.cs (11)
750
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
799
await repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
899
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
907
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
931
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
939
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
966
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
993
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
1020
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
1048
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
1072
await repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
TelemetryRepositoryTests\LogTests.cs (31)
39
var addContext = new
AddContext
();
99
var addContext = new
AddContext
();
295
var addContext = new
AddContext
();
354
var addContext = new
AddContext
();
395
var addContext = new
AddContext
();
457
var addContext = new
AddContext
();
533
var addContext = new
AddContext
();
585
var addContext = new
AddContext
();
638
var addContext = new
AddContext
();
713
var addContext1 = new
AddContext
();
750
var addContext2 = new
AddContext
();
798
var addContext = new
AddContext
();
842
var addContext = new
AddContext
();
886
var addContext = new
AddContext
();
983
var addContext = new
AddContext
();
1039
var addContext = new
AddContext
();
1087
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
1126
var addContext = new
AddContext
();
1173
var addContext = new
AddContext
();
1272
var addContext = new
AddContext
();
1360
var addContext = new
AddContext
();
1425
var addContext = new
AddContext
();
1499
var addContext = new
AddContext
();
1566
var addContext = new
AddContext
();
1607
var addContext = new
AddContext
();
1648
var addContext = new
AddContext
();
1691
var addContext = new
AddContext
();
1733
var addContext = new
AddContext
();
1772
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
1847
var context = new
AddContext
();
1898
var context = new
AddContext
();
TelemetryRepositoryTests\MetricsTests.cs (38)
32
var addContext = new
AddContext
();
130
var addContext = new
AddContext
();
231
var addContext = new
AddContext
();
293
await repositoryContext.Repository.AsWriter().AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
344
var addContext = new
AddContext
();
443
var addContext = new
AddContext
();
501
await repositoryContext.Repository.AsWriter().AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
554
var addContext = new
AddContext
();
633
var addContext = new
AddContext
();
740
var addContext = new
AddContext
();
815
var addContext = new
AddContext
();
965
var addContext = new
AddContext
();
1105
var addContext = new
AddContext
();
1164
var addContext = new
AddContext
();
1228
var addContext = new
AddContext
();
1263
var addContext = new
AddContext
();
1313
var addContext = new
AddContext
();
1397
var addContext = new
AddContext
();
1467
var addContext = new
AddContext
();
1543
var addContext = new
AddContext
();
1598
var addContext = new
AddContext
();
1656
var addContext = new
AddContext
();
1684
await repository.AsWriter().AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
1720
await repository.AsWriter().AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
1746
var addContext = new
AddContext
();
1796
var addContext = new
AddContext
();
1876
var addContext = new
AddContext
();
1966
var addContext = new
AddContext
();
2015
var addContext = new
AddContext
();
2076
var addContext = new
AddContext
();
2141
var context = new
AddContext
();
2197
var context = new
AddContext
();
2262
await repository.AsWriter().AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
2274
var context = new
AddContext
();
2318
await repository.AsWriter().AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
2326
await repository.AsWriter().AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
2379
await repositoryContext.Repository.AsWriter().AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
2386
var context = new
AddContext
();
TelemetryRepositoryTests\ResourceTests.cs (1)
178
var addContext = new
AddContext
();
TelemetryRepositoryTests\SqliteTelemetryPersistenceTests.cs (27)
77
await repositoryContext.Repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
85
await repositoryContext.Repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
100
await repositoryContext.Repository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
132
await repositoryContext.Repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
140
await repositoryContext.Repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
188
await repositoryContext.Repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
196
await repositoryContext.Repository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
241
await repositoryContext.Repository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
277
await repositoryContext.Repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
330
await repositoryContext.Repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
391
await repositoryContext.Repository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
449
var addContext = new
AddContext
();
482
var changedContext = new
AddContext
();
515
var addContext = new
AddContext
();
560
await repositoryContext.Repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
575
await repositoryContext.Repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
590
await repositoryContext.Repository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
654
var addContext = new
AddContext
();
688
var addContext = new
AddContext
();
734
var addContext = new
AddContext
();
799
await repositoryContext.Repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
807
await repositoryContext.Repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
822
await repositoryContext.Repository.AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>
853
await repositoryContext.Repository.AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
861
await repositoryContext.Repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
898
await repositoryContext.Repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
913
await repositoryContext.Repository.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
TelemetryRepositoryTests\TelemetryLimitTests.cs (20)
28
var addContext = new
AddContext
();
50
var failContext = new
AddContext
();
80
var addContext = new
AddContext
();
100
var successContext = new
AddContext
();
137
var addContext = new
AddContext
();
161
var failContext = new
AddContext
();
193
var addContext = new
AddContext
();
226
var addContext = new
AddContext
();
258
var setupContext = new
AddContext
();
278
var failContext = new
AddContext
();
319
var setupContext = new
AddContext
();
339
var failContext = new
AddContext
();
381
var setupContext = new
AddContext
();
401
var failContext = new
AddContext
();
451
var addContext = new
AddContext
();
456
var failContext = new
AddContext
();
497
var addContext = new
AddContext
();
502
var failContext = new
AddContext
();
542
var addContext = new
AddContext
();
547
var failContext = new
AddContext
();
TelemetryRepositoryTests\TelemetryRepositoryTests.cs (23)
61
var addContext = new
AddContext
();
84
var addContext = new
AddContext
();
118
var addContext = new
AddContext
();
368
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
412
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
486
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
530
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
603
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
697
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
772
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
952
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
997
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
1043
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
1088
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
1125
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
1175
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
1228
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
1271
await repositoryContext.Repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>
1325
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
1368
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
1402
await repository.AsWriter().AddLogsAsync(new
AddContext
(), new RepeatedField<ResourceLogs>()
1418
await repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
1437
await repository.AsWriter().AddMetricsAsync(new
AddContext
(), new RepeatedField<ResourceMetrics>()
TelemetryRepositoryTests\TraceTests.cs (91)
47
var addContext = new
AddContext
();
101
var addContext = new
AddContext
();
239
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
318
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
341
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
387
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
437
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
459
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
520
var addContext = new
AddContext
();
572
var addContext = new
AddContext
();
623
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
643
var context = new
AddContext
();
683
var addContext = new
AddContext
();
737
var addContext = new
AddContext
();
814
var addContext1 = new
AddContext
();
834
var addContext2 = new
AddContext
();
883
var addContext3 = new
AddContext
();
934
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
986
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
1062
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
1147
var addContext1 = new
AddContext
();
1218
var addContext = new
AddContext
();
1395
var addContext = new
AddContext
();
1452
var addContext = new
AddContext
();
1501
var addContext = new
AddContext
();
1575
var addContext = new
AddContext
();
1616
var addContext = new
AddContext
();
1668
var addContext = new
AddContext
();
1769
var addContext = new
AddContext
();
1830
var addContext = new
AddContext
();
1891
var addContext = new
AddContext
();
1948
var addContext = new
AddContext
();
2000
var addContext = new
AddContext
();
2108
var addContext = new
AddContext
();
2253
var addContext = new
AddContext
();
2331
var addContext = new
AddContext
();
2436
var addContext = new
AddContext
();
2524
var addContext = new
AddContext
();
2618
var addContext = new
AddContext
();
2693
await writer.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
2722
await writer.AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
2784
var addContext = new
AddContext
();
2821
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
2887
var addContext = new
AddContext
();
2991
var addContext = new
AddContext
();
3035
var addContext = new
AddContext
();
3101
var addContext = new
AddContext
();
3144
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3185
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3225
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
3263
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3304
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3346
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3398
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3461
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
3512
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3562
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3602
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
3692
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
3761
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3803
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3866
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3911
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>()
3950
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
4008
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
4060
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
4111
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
4162
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
4248
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
4303
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
4355
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
4413
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(), new RepeatedField<ResourceSpans>
4486
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
4511
new
AddContext
(),
4514
new
AddContext
(),
4539
await repository.AsWriter().AddTracesAsync(new
AddContext
(),
4547
new
AddContext
(),
4569
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
4576
new
AddContext
(),
4602
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
4609
new
AddContext
(),
4612
new
AddContext
(),
4615
new
AddContext
(),
4669
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
4693
var context = new
AddContext
();
4737
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
4755
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
4793
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
4832
var context = new
AddContext
();
4852
await repositoryContext.Repository.AsWriter().AddTracesAsync(new
AddContext
(),
4956
var context = new
AddContext
();
201 references to AddContext
Aspire.Dashboard (19)
Model\TelemetryImportService.cs (3)
177
var
addContext = new AddContext();
188
var
addContext = new AddContext();
199
var
addContext = new AddContext();
Otlp\OtlpLogsService.cs (1)
25
var
addContext = new AddContext();
Otlp\OtlpMetricsService.cs (1)
25
var
addContext = new AddContext();
Otlp\OtlpTraceService.cs (1)
25
var
addContext = new AddContext();
Otlp\Storage\ITelemetryRepositoryWriter.cs (3)
24
Task AddLogsAsync(
AddContext
context, RepeatedField<ResourceLogs> resourceLogs);
32
Task AddMetricsAsync(
AddContext
context, RepeatedField<ResourceMetrics> resourceMetrics);
40
Task AddTracesAsync(
AddContext
context, RepeatedField<ResourceSpans> resourceSpans);
Otlp\Storage\SqliteTelemetryRepository.cs (3)
89
public async Task AddLogsAsync(
AddContext
context, RepeatedField<ResourceLogs> resourceLogs)
112
public async Task AddMetricsAsync(
AddContext
context, RepeatedField<ResourceMetrics> resourceMetrics)
129
public async Task AddTracesAsync(
AddContext
context, RepeatedField<ResourceSpans> resourceSpans)
Otlp\Storage\SqliteTelemetryRepository.Logs.cs (1)
24
private async Task<List<OtlpLogEntry>> AddLogsToDatabaseAsync(
AddContext
context, RepeatedField<ResourceLogs> resourceLogs)
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (5)
29
private async Task AddMetricsToDatabaseAsync(
AddContext
context, RepeatedField<ResourceMetrics> resourceMetrics)
111
AddContext
context,
169
AddContext
context,
245
AddContext
context,
922
public required
AddContext
Context { get; init; }
Otlp\Storage\SqliteTelemetryRepository.Traces.Writes.cs (1)
25
private async Task<List<OtlpSpan>> AddTracesToDatabaseAsync(
AddContext
context, RepeatedField<ResourceSpans> resourceSpans)
Aspire.Dashboard.Components.Tests (3)
Controls\GenAIVisualizerDialogTests.cs (2)
186
var
addContext = new AddContext();
270
var
addContext = new AddContext();
Pages\ResourcesTests.cs (1)
595
var
addContext = new AddContext();
Aspire.Dashboard.Tests (179)
Model\GenAIVisualizerDialogViewModelTests.cs (30)
30
var
addContext = new AddContext();
81
var
addContext = new AddContext();
130
var
addContext = new AddContext();
228
var
addContext = new AddContext();
328
var
addContext = new AddContext();
407
var
addContext = new AddContext();
457
var
addContext = new AddContext();
538
var
addContext = new AddContext();
655
var
addContext = new AddContext();
736
var
addContext = new AddContext();
821
var
addContext = new AddContext();
875
var
addContext = new AddContext();
952
var
addContext = new AddContext();
1036
var
addContext = new AddContext();
1145
var
addContext = new AddContext();
1217
var
addContext = new AddContext();
1260
var
addContext = new AddContext();
1348
var
addContext = new AddContext();
1438
var
addContext = new AddContext();
1512
var
addContext = new AddContext();
1621
var
addContext = new AddContext();
1701
var
addContext = new AddContext();
1739
var
addContext = new AddContext();
1861
var
addContext = new AddContext();
1922
var
addContext = new AddContext();
2005
var
addContext = new AddContext();
2111
var
addContext = new AddContext();
2198
var
addContext = new AddContext();
2271
var
addContext = new AddContext();
2341
var
addContext = new AddContext();
Model\ResourceMenuBuilderTests.cs (2)
120
var
addContext = new AddContext();
172
var
addContext = new AddContext();
Model\TelemetryExportServiceTests.cs (18)
41
var
addContext = new AddContext();
109
var
addContext = new AddContext();
148
var
addContext = new AddContext();
230
var
addContext = new AddContext();
268
var
addContext = new AddContext();
347
var
addContext = new AddContext();
391
var
addContext = new AddContext();
441
var
addContext = new AddContext();
524
var
addContext = new AddContext();
606
var
addContext = new AddContext();
750
var
addContext = new AddContext();
893
var
addContext = new AddContext();
953
var
addContext = new AddContext();
1037
var
addContext = new AddContext();
1075
var
addContext = new AddContext();
1128
var
addContext = new AddContext();
1189
var
addContext = new AddContext();
1230
var
addContext = new AddContext();
Model\TelemetryImportServiceTests.cs (3)
303
var
addContext = new AddContext();
356
var
addContext = new AddContext();
435
var
addContext = new AddContext();
TelemetryRepositoryTests\LogTests.cs (29)
39
var
addContext = new AddContext();
99
var
addContext = new AddContext();
295
var
addContext = new AddContext();
354
var
addContext = new AddContext();
395
var
addContext = new AddContext();
457
var
addContext = new AddContext();
533
var
addContext = new AddContext();
585
var
addContext = new AddContext();
638
var
addContext = new AddContext();
713
var
addContext1 = new AddContext();
750
var
addContext2 = new AddContext();
798
var
addContext = new AddContext();
842
var
addContext = new AddContext();
886
var
addContext = new AddContext();
983
var
addContext = new AddContext();
1039
var
addContext = new AddContext();
1126
var
addContext = new AddContext();
1173
var
addContext = new AddContext();
1272
var
addContext = new AddContext();
1360
var
addContext = new AddContext();
1425
var
addContext = new AddContext();
1499
var
addContext = new AddContext();
1566
var
addContext = new AddContext();
1607
var
addContext = new AddContext();
1648
var
addContext = new AddContext();
1691
var
addContext = new AddContext();
1733
var
addContext = new AddContext();
1847
var
context = new AddContext();
1898
var
context = new AddContext();
TelemetryRepositoryTests\MetricsTests.cs (30)
32
var
addContext = new AddContext();
130
var
addContext = new AddContext();
231
var
addContext = new AddContext();
344
var
addContext = new AddContext();
443
var
addContext = new AddContext();
554
var
addContext = new AddContext();
633
var
addContext = new AddContext();
740
var
addContext = new AddContext();
815
var
addContext = new AddContext();
965
var
addContext = new AddContext();
1105
var
addContext = new AddContext();
1164
var
addContext = new AddContext();
1228
var
addContext = new AddContext();
1263
var
addContext = new AddContext();
1313
var
addContext = new AddContext();
1397
var
addContext = new AddContext();
1467
var
addContext = new AddContext();
1543
var
addContext = new AddContext();
1598
var
addContext = new AddContext();
1656
var
addContext = new AddContext();
1746
var
addContext = new AddContext();
1796
var
addContext = new AddContext();
1876
var
addContext = new AddContext();
1966
var
addContext = new AddContext();
2015
var
addContext = new AddContext();
2076
var
addContext = new AddContext();
2141
var
context = new AddContext();
2197
var
context = new AddContext();
2274
var
context = new AddContext();
2386
var
context = new AddContext();
TelemetryRepositoryTests\ResourceTests.cs (1)
178
var
addContext = new AddContext();
TelemetryRepositoryTests\SqliteTelemetryPersistenceTests.cs (6)
449
var
addContext = new AddContext();
482
var
changedContext = new AddContext();
515
var
addContext = new AddContext();
654
var
addContext = new AddContext();
688
var
addContext = new AddContext();
734
var
addContext = new AddContext();
TelemetryRepositoryTests\TelemetryLimitTests.cs (20)
28
var
addContext = new AddContext();
50
var
failContext = new AddContext();
80
var
addContext = new AddContext();
100
var
successContext = new AddContext();
137
var
addContext = new AddContext();
161
var
failContext = new AddContext();
193
var
addContext = new AddContext();
226
var
addContext = new AddContext();
258
var
setupContext = new AddContext();
278
var
failContext = new AddContext();
319
var
setupContext = new AddContext();
339
var
failContext = new AddContext();
381
var
setupContext = new AddContext();
401
var
failContext = new AddContext();
451
var
addContext = new AddContext();
456
var
failContext = new AddContext();
497
var
addContext = new AddContext();
502
var
failContext = new AddContext();
542
var
addContext = new AddContext();
547
var
failContext = new AddContext();
TelemetryRepositoryTests\TelemetryRepositoryTests.cs (3)
61
var
addContext = new AddContext();
84
var
addContext = new AddContext();
118
var
addContext = new AddContext();
TelemetryRepositoryTests\TraceTests.cs (37)
47
var
addContext = new AddContext();
101
var
addContext = new AddContext();
520
var
addContext = new AddContext();
572
var
addContext = new AddContext();
643
var
context = new AddContext();
683
var
addContext = new AddContext();
737
var
addContext = new AddContext();
814
var
addContext1 = new AddContext();
834
var
addContext2 = new AddContext();
883
var
addContext3 = new AddContext();
1147
var
addContext1 = new AddContext();
1218
var
addContext = new AddContext();
1395
var
addContext = new AddContext();
1452
var
addContext = new AddContext();
1501
var
addContext = new AddContext();
1575
var
addContext = new AddContext();
1616
var
addContext = new AddContext();
1668
var
addContext = new AddContext();
1769
var
addContext = new AddContext();
1830
var
addContext = new AddContext();
1891
var
addContext = new AddContext();
1948
var
addContext = new AddContext();
2000
var
addContext = new AddContext();
2108
var
addContext = new AddContext();
2253
var
addContext = new AddContext();
2331
var
addContext = new AddContext();
2436
var
addContext = new AddContext();
2524
var
addContext = new AddContext();
2618
var
addContext = new AddContext();
2784
var
addContext = new AddContext();
2887
var
addContext = new AddContext();
2991
var
addContext = new AddContext();
3035
var
addContext = new AddContext();
3101
var
addContext = new AddContext();
4693
var
context = new AddContext();
4832
var
context = new AddContext();
4956
var
context = new AddContext();