save checkpoint
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user