diff --git a/src/lib/features/feature-lifecycle/feature-lifecycle-service.ts b/src/lib/features/feature-lifecycle/feature-lifecycle-service.ts index 5fc8e136d2..6aecea869d 100644 --- a/src/lib/features/feature-lifecycle/feature-lifecycle-service.ts +++ b/src/lib/features/feature-lifecycle/feature-lifecycle-service.ts @@ -132,7 +132,10 @@ export class FeatureLifecycleService { } private recordStagesEntered(newlyEnteredStages: NewStage[]) { - if (this.flagResolver.isEnabled('trackLifecycleMetrics')) { + if ( + this.flagResolver.isEnabled('trackLifecycleMetrics') && + newlyEnteredStages.length > 0 + ) { this.logger.info( `recordStagesEntered parameter ${JSON.stringify(newlyEnteredStages)}`, );