Skip to content

Commit c5cc8e3

Browse files
committed
Add TODO
1 parent bfe3896 commit c5cc8e3

File tree

1 file changed

+3
-0
lines changed
  • firebase-perf/src/main/java/com/google/firebase/perf/session/gauges

1 file changed

+3
-0
lines changed

firebase-perf/src/main/java/com/google/firebase/perf/session/gauges/GaugeCounter.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ object GaugeCounter {
3535
val metricsCount = counter.incrementAndGet()
3636

3737
if (metricsCount >= MAX_METRIC_COUNT) {
38+
// TODO(b/394127311): There can be rare conditions where there's an attempt to log metrics
39+
// even when it's currently logging them. While this is a no-op, it might be worth
40+
// exploring optimizing it further to prevent additional calls to [GaugeManager].
3841
gaugeManager.logGaugeMetrics()
3942
}
4043
}

0 commit comments

Comments
 (0)