8 writes to FailureCount
Aspire.Dashboard (8)
Otlp\Model\OtlpApplication.cs (1)
75
context.
FailureCount
++;
Otlp\Storage\TelemetryRepository.cs (7)
278
context.
FailureCount
+= rl.ScopeLogs.Count;
321
context.
FailureCount
+= sl.LogRecords.Count;
368
context.
FailureCount
++;
711
context.
FailureCount
+= rm.ScopeMetrics.Sum(s => s.Metrics.Count);
733
context.
FailureCount
+= rs.ScopeSpans.Sum(s => s.Spans.Count);
781
context.
FailureCount
+= scopeSpan.Spans.Count;
891
context.
FailureCount
++;
44 references to FailureCount
Aspire.Dashboard (6)
Otlp\OtlpLogsService.cs (2)
26
_logger.LogDebug("Processed logs export. Failure count: {FailureCount}", addContext.
FailureCount
);
32
RejectedLogRecords = addContext.
FailureCount
Otlp\OtlpMetricsService.cs (2)
26
_logger.LogDebug("Processed metrics export. Failure count: {FailureCount}", addContext.
FailureCount
);
32
RejectedDataPoints = addContext.
FailureCount
Otlp\OtlpTraceService.cs (2)
26
_logger.LogDebug("Processed trace export. Failure count: {FailureCount}", addContext.
FailureCount
);
32
RejectedSpans = addContext.
FailureCount
Aspire.Dashboard.Tests (38)
TelemetryRepositoryTests\ApplicationTests.cs (1)
160
Assert.Equal(0, addContext.
FailureCount
);
TelemetryRepositoryTests\LogTests.cs (12)
56
Assert.Equal(0, addContext.
FailureCount
);
130
Assert.Equal(0, addContext.
FailureCount
);
204
Assert.Equal(0, addContext.
FailureCount
);
275
Assert.Equal(0, addContext.
FailureCount
);
327
Assert.Equal(0, addContext.
FailureCount
);
365
Assert.Equal(0, addContext.
FailureCount
);
437
Assert.Equal(0, addContext1.
FailureCount
);
476
Assert.Equal(0, addContext2.
FailureCount
);
522
Assert.Equal(0, addContext.
FailureCount
);
610
Assert.Equal(0, addContext.
FailureCount
);
822
Assert.Equal(0, addContext.
FailureCount
);
933
Assert.Equal(0, addContext.
FailureCount
);
TelemetryRepositoryTests\MetricsTests.cs (6)
60
Assert.Equal(0, addContext.
FailureCount
);
133
Assert.Equal(0, addContext.
FailureCount
);
249
Assert.Equal(0, addContext.
FailureCount
);
347
Assert.Equal(0, addContext.
FailureCount
);
454
Assert.Equal(0, addContext.
FailureCount
);
562
Assert.Equal(0, addContext.
FailureCount
);
TelemetryRepositoryTests\TraceTests.cs (19)
67
Assert.Equal(0, addContext.
FailureCount
);
126
Assert.Equal(1, addContext.
FailureCount
);
181
Assert.Equal(1, addContext.
FailureCount
);
236
Assert.Equal(1, addContext.
FailureCount
);
307
Assert.Equal(0, addContext.
FailureCount
);
364
Assert.Equal(0, addContext1.
FailureCount
);
384
Assert.Equal(0, addContext2.
FailureCount
);
434
Assert.Equal(0, addContext3.
FailureCount
);
801
Assert.Equal(0, addContext.
FailureCount
);
1007
Assert.Equal(0, addContext.
FailureCount
);
1040
Assert.Equal(0, addContext.
FailureCount
);
1109
Assert.Equal(0, addContext.
FailureCount
);
1171
Assert.Equal(0, addContext.
FailureCount
);
1259
Assert.Equal(0, addContext.
FailureCount
);
1334
Assert.Equal(0, addContext.
FailureCount
);
1359
Assert.Equal(0, addContext.
FailureCount
);
1384
Assert.Equal(0, addContext.
FailureCount
);
1409
Assert.Equal(0, addContext.
FailureCount
);
1474
Assert.Equal(0, addContext.
FailureCount
);