@Override
  public void close() {
    meterRegistry.remove(successTimer);
    successTimer.close();

    meterRegistry.remove(failureTimer);
    failureTimer.close();

    statistics.close();

    isClosed.set(true);
  }
Total number of exceptions occurred while executing function
geode-core/src/main/java/org/apache/geode/internal/cache/execute/metrics/FunctionStatsImpl.java