8 writes to FailureCount
Aspire.Dashboard (8)
Otlp\Model\OtlpApplication.cs (1)
75context.FailureCount++;
Otlp\Storage\TelemetryRepository.cs (7)
278context.FailureCount += rl.ScopeLogs.Count; 321context.FailureCount += sl.LogRecords.Count; 368context.FailureCount++; 711context.FailureCount += rm.ScopeMetrics.Sum(s => s.Metrics.Count); 733context.FailureCount += rs.ScopeSpans.Sum(s => s.Spans.Count); 781context.FailureCount += scopeSpan.Spans.Count; 891context.FailureCount++;
44 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 (38)
TelemetryRepositoryTests\ApplicationTests.cs (1)
160Assert.Equal(0, addContext.FailureCount);
TelemetryRepositoryTests\LogTests.cs (12)
56Assert.Equal(0, addContext.FailureCount); 130Assert.Equal(0, addContext.FailureCount); 204Assert.Equal(0, addContext.FailureCount); 275Assert.Equal(0, addContext.FailureCount); 327Assert.Equal(0, addContext.FailureCount); 365Assert.Equal(0, addContext.FailureCount); 437Assert.Equal(0, addContext1.FailureCount); 476Assert.Equal(0, addContext2.FailureCount); 522Assert.Equal(0, addContext.FailureCount); 610Assert.Equal(0, addContext.FailureCount); 822Assert.Equal(0, addContext.FailureCount); 933Assert.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);