8 writes to FailureCount
Aspire.Dashboard (8)
Otlp\Model\OtlpApplication.cs (1)
75
context.
FailureCount
++;
Otlp\Storage\TelemetryRepository.cs (7)
279
context.
FailureCount
+= rl.ScopeLogs.Count;
322
context.
FailureCount
+= sl.LogRecords.Count;
369
context.
FailureCount
++;
712
context.
FailureCount
+= rm.ScopeMetrics.Sum(s => s.Metrics.Count);
734
context.
FailureCount
+= rs.ScopeSpans.Sum(s => s.Spans.Count);
782
context.
FailureCount
+= scopeSpan.Spans.Count;
892
context.
FailureCount
++;
45 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 (39)
TelemetryRepositoryTests\ApplicationTests.cs (1)
160
Assert.Equal(0, addContext.
FailureCount
);
TelemetryRepositoryTests\LogTests.cs (13)
56
Assert.Equal(0, addContext.
FailureCount
);
119
Assert.Equal(0, addContext.
FailureCount
);
171
Assert.Equal(0, addContext.
FailureCount
);
245
Assert.Equal(0, addContext.
FailureCount
);
316
Assert.Equal(0, addContext.
FailureCount
);
368
Assert.Equal(0, addContext.
FailureCount
);
406
Assert.Equal(0, addContext.
FailureCount
);
478
Assert.Equal(0, addContext1.
FailureCount
);
517
Assert.Equal(0, addContext2.
FailureCount
);
563
Assert.Equal(0, addContext.
FailureCount
);
651
Assert.Equal(0, addContext.
FailureCount
);
863
Assert.Equal(0, addContext.
FailureCount
);
974
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
);