From dd848fcc4667c425b1af0c77a5a2455ef804f091 Mon Sep 17 00:00:00 2001 From: sjaanus Date: Thu, 19 Dec 2024 12:56:50 +0200 Subject: [PATCH] feat: store memory footprints to grafana --- .../client-feature-toggle.controller.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/features/client-feature-toggles/client-feature-toggle.controller.ts b/src/lib/features/client-feature-toggles/client-feature-toggle.controller.ts index 24f4b2058069..b40fb31afbf5 100644 --- a/src/lib/features/client-feature-toggles/client-feature-toggle.controller.ts +++ b/src/lib/features/client-feature-toggles/client-feature-toggle.controller.ts @@ -173,12 +173,8 @@ export default class FeatureController extends Controller { await this.clientFeatureToggleService.getActiveSegmentsForClient(); try { - console.log(`storing features ${features.length}`); const featuresSize = this.getCacheSizeInBytes(features); const segmentsSize = this.getCacheSizeInBytes(segments); - console.log( - `features storing ${featuresSize}, ${segmentsSize}`, - ); this.clientFeaturesCacheMap.set( JSON.stringify(query), featuresSize + segmentsSize,