docs: @Override
    public <T extends IMetric<U>, U> T registerMetric(String name,
                                                      T metric,
                                                      int timeBucketSizeInSecs) {
      metricsCollector.registerMetric(name, metric, timeBucketSizeInSecs);
      return metric;
    }