From d80cf075a360e2d07be9b34b3981e293dfa61e34 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Tue, 3 Mar 2026 12:24:05 -0800 Subject: [PATCH] fix(diagnostics): add missing session_replays and performance_profiles cosmos containers [BUG-1] --- services/platform-service/src/lib/cosmos-init.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/platform-service/src/lib/cosmos-init.ts b/services/platform-service/src/lib/cosmos-init.ts index ab85e93c..d8d30e26 100644 --- a/services/platform-service/src/lib/cosmos-init.ts +++ b/services/platform-service/src/lib/cosmos-init.ts @@ -82,6 +82,8 @@ const CONTAINER_DEFS: Record = { debug_logs: { partitionKeyPath: '/pk', defaultTtl: 3 * 86400 }, debug_screenshots: { partitionKeyPath: '/sessionId', defaultTtl: 7 * 86400 }, diagnostic_triggers: { partitionKeyPath: '/id' }, + session_replays: { partitionKeyPath: '/pk', defaultTtl: 7 * 86400 }, + performance_profiles: { partitionKeyPath: '/pk', defaultTtl: 7 * 86400 }, // Predictive Analytics user_features: { partitionKeyPath: '/userId', defaultTtl: 90 * 86400 }, product_health: { partitionKeyPath: '/productId' },