# StellaRouter Performance Testing Pipeline (k6 + Prometheus + Correlation IDs) ## Module Gateway ## Status IMPLEMENTED ## Description The StellaRouter gateway service exists but the advisory's proposed k6 performance testing scenarios (A-G), correlation ID instrumentation, and Prometheus metric dashboards for performance curve modeling are not present as source code artifacts. These may exist as devops artifacts outside src/. ## What's Implemented - Gateway service with full middleware pipeline: `src/Gateway/StellaOps.Gateway.WebService/` - Correlation ID middleware: `src/Gateway/StellaOps.Gateway.WebService/Middleware/CorrelationIdMiddleware.cs` - Gateway metrics: `src/Gateway/StellaOps.Gateway.WebService/Services/GatewayMetrics.cs` -- Prometheus-compatible metrics - Health monitoring: `src/Gateway/StellaOps.Gateway.WebService/Services/GatewayHealthMonitorService.cs` - Source: Feature matrix scan ## What's Missing - k6 performance testing scripts (scenarios A-G) - Prometheus metric dashboards for performance curve modeling - These may exist under `devops/` rather than `src/` -- check `devops/` directory ## Implementation Plan - Create k6 test scripts for Gateway performance scenarios - Add Grafana/Prometheus dashboards for Gateway metrics visualization - These are DevOps artifacts and may belong under `devops/perf/` or similar ## Related Documentation - Source: See feature catalog