void trackTimeSinceLastSync(Gauge<Integer> gauge) {
    timeInSecondsSinceLastSyncGauge = gauge;
    metricRegistry.register(MetricRegistry.name(MySqlAccountService.class, TIME_IN_SECONDS_SINCE_LAST_SYNC),
        timeInSecondsSinceLastSyncGauge);
  }
Tracks the number of seconds elapsed since the last database sync.
@param gauge the function returning the elapsed time.
ambry-account/src/main/java/com/github/ambry/account/AccountServiceMetrics.java