diff --git a/src/storages/AbstractSegmentsCacheSync.ts b/src/storages/AbstractSegmentsCacheSync.ts index 23b3a491..a3780d48 100644 --- a/src/storages/AbstractSegmentsCacheSync.ts +++ b/src/storages/AbstractSegmentsCacheSync.ts @@ -44,6 +44,7 @@ export abstract class AbstractSegmentsCacheSync implements ISegmentsCacheSync { /** * Only used for the `skC`(segment keys count) telemetry stat: 1 for client-side, and total count of keys in server-side. + * @TODO for client-side it should be the number of clients, but it requires a refactor of MySegments caches to simplify the code. */ abstract getKeysCount(): number diff --git a/src/storages/inMemory/TelemetryCacheInMemory.ts b/src/storages/inMemory/TelemetryCacheInMemory.ts index d9d7ae74..26fb2b17 100644 --- a/src/storages/inMemory/TelemetryCacheInMemory.ts +++ b/src/storages/inMemory/TelemetryCacheInMemory.ts @@ -50,7 +50,6 @@ export class TelemetryCacheInMemory implements ITelemetryCacheSync { iDr: this.getImpressionStats(DROPPED), spC: this.splits && this.splits.getSplitNames().length, seC: this.segments && this.segments.getRegisteredSegments().length, - // @TODO number of clients in client-side API? skC: this.segments && this.segments.getKeysCount(), sL: this.getSessionLength(), eQ: this.getEventStats(QUEUED),