8 writes to FailureCount
Aspire.Dashboard (8)
Otlp\Model\OtlpApplication.cs (1)
75context.FailureCount++;
Otlp\Storage\TelemetryRepository.cs (7)
279context.FailureCount += rl.ScopeLogs.Count; 322context.FailureCount += sl.LogRecords.Count; 369context.FailureCount++; 712context.FailureCount += rm.ScopeMetrics.Sum(s => s.Metrics.Count); 734context.FailureCount += rs.ScopeSpans.Sum(s => s.Spans.Count); 782context.FailureCount += scopeSpan.Spans.Count; 892context.FailureCount++;
45 references to FailureCount
Aspire.Dashboard (6)
Otlp\OtlpLogsService.cs (2)
26_logger.LogDebug("Processed logs export. Failure count: {FailureCount}", addContext.FailureCount); 32RejectedLogRecords = addContext.FailureCount
Otlp\OtlpMetricsService.cs (2)
26_logger.LogDebug("Processed metrics export. Failure count: {FailureCount}", addContext.FailureCount); 32RejectedDataPoints = addContext.FailureCount
Otlp\OtlpTraceService.cs (2)
26_logger.LogDebug("Processed trace export. Failure count: {FailureCount}", addContext.FailureCount); 32RejectedSpans = addContext.FailureCount
Aspire.Dashboard.Tests (39)
TelemetryRepositoryTests\ApplicationTests.cs (1)
160Assert.Equal(0, addContext.FailureCount);
TelemetryRepositoryTests\LogTests.cs (13)
56Assert.Equal(0, addContext.FailureCount); 119Assert.Equal(0, addContext.FailureCount); 171Assert.Equal(0, addContext.FailureCount); 245Assert.Equal(0, addContext.FailureCount); 316Assert.Equal(0, addContext.FailureCount); 368Assert.Equal(0, addContext.FailureCount); 406Assert.Equal(0, addContext.FailureCount); 478Assert.Equal(0, addContext1.FailureCount); 517Assert.Equal(0, addContext2.FailureCount); 563Assert.Equal(0, addContext.FailureCount); 651Assert.Equal(0, addContext.FailureCount); 863Assert.Equal(0, addContext.FailureCount); 974Assert.Equal(0, addContext.FailureCount);
TelemetryRepositoryTests\MetricsTests.cs (6)
60Assert.Equal(0, addContext.FailureCount); 133Assert.Equal(0, addContext.FailureCount); 249Assert.Equal(0, addContext.FailureCount); 347Assert.Equal(0, addContext.FailureCount); 454Assert.Equal(0, addContext.FailureCount); 562Assert.Equal(0, addContext.FailureCount);
TelemetryRepositoryTests\TraceTests.cs (19)
67Assert.Equal(0, addContext.FailureCount); 126Assert.Equal(1, addContext.FailureCount); 181Assert.Equal(1, addContext.FailureCount); 236Assert.Equal(1, addContext.FailureCount); 307Assert.Equal(0, addContext.FailureCount); 364Assert.Equal(0, addContext1.FailureCount); 384Assert.Equal(0, addContext2.FailureCount); 434Assert.Equal(0, addContext3.FailureCount); 801Assert.Equal(0, addContext.FailureCount); 1007Assert.Equal(0, addContext.FailureCount); 1040Assert.Equal(0, addContext.FailureCount); 1109Assert.Equal(0, addContext.FailureCount); 1171Assert.Equal(0, addContext.FailureCount); 1259Assert.Equal(0, addContext.FailureCount); 1334Assert.Equal(0, addContext.FailureCount); 1359Assert.Equal(0, addContext.FailureCount); 1384Assert.Equal(0, addContext.FailureCount); 1409Assert.Equal(0, addContext.FailureCount); 1474Assert.Equal(0, addContext.FailureCount);