save checkpoint

This commit is contained in:
master
2026-02-14 09:11:48 +02:00
parent 9ca2de05df
commit e9aeadc040
1512 changed files with 30863 additions and 4728 deletions

View File

@@ -0,0 +1,27 @@
# Outcome Analytics / Attribution
## Module
Telemetry
## Status
IMPLEMENTED
## Description
Deterministic outcome analytics service providing MTTA/MTTR attribution, per-pipeline deployment attribution, per-severity incident attribution, daily cohort analysis, and executive reporting backed by DORA metrics.
## Implementation Details
- **IOutcomeAnalyticsService**: `src/Telemetry/StellaOps.Telemetry.Core/StellaOps.Telemetry.Core/IOutcomeAnalyticsService.cs` -- service interface for building executive outcome reports
- **DoraOutcomeAnalyticsService**: `src/Telemetry/StellaOps.Telemetry.Core/StellaOps.Telemetry.Core/DoraOutcomeAnalyticsService.cs` -- deterministic implementation backed by IDoraMetricsService; builds deployment attribution slices grouped by pipeline, incident attribution slices grouped by severity, and daily cohort views for trend reporting
- **OutcomeAnalyticsModels**: `src/Telemetry/StellaOps.Telemetry.Core/StellaOps.Telemetry.Core/OutcomeAnalyticsModels.cs` -- OutcomeExecutiveReport, DeploymentAttributionSlice, IncidentAttributionSlice, OutcomeCohortSlice records
- **DI Registration**: `src/Telemetry/StellaOps.Telemetry.Core/StellaOps.Telemetry.Core/TelemetryServiceCollectionExtensions.cs` -- registered automatically via `AddDoraMetrics()` extension method
- **Tests**: `src/Telemetry/StellaOps.Telemetry.Core/StellaOps.Telemetry.Core.Tests/OutcomeAnalyticsServiceTests.cs` (3 test cases)
- **Source**: Feature matrix scan + QA verification
## Verified Behaviors
- Executive report computes total/failed deployments, total/resolved/acknowledged incidents
- MTTA and MTTR computed across incidents with deterministic rounding
- Deployment attribution grouped by pipeline with per-pipeline CFR and median lead time
- Incident attribution grouped by severity with per-severity MTTA/MTTR
- Daily cohort view covers full date range with deployment and incident counts
- Deterministic: repeated calls with same data produce identical reports
- DI registration via AddDoraMetrics() resolves IOutcomeAnalyticsService