Skip to content

Commit

Permalink
feat: store memory footprints to grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Dec 19, 2024
1 parent 9e199fd commit dd848fc
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dd848fc

Please sign in to comment.