@Override
  public Timer createTimer() {
    // set pauseDetector
    PauseDetector pauseDetector = new NoPauseDetector();

    io.micrometer.core.instrument.Timer timer =
        new CumulativeTimer(
            null, clock, IoTDBDistributionStatisticConfig, pauseDetector, TimeUnit.SECONDS, false);
    return new IoTDBTimer(timer);
  }
The histogram config which is used to create IoTDBTimer and IoTDBHistogram
iotdb-core/metrics/core/src/main/java/org/apache/iotdb/metrics/core/IoTDBMetricManager.java