private static Timer registerSuccessTimer(String functionId, MeterRegistry meterRegistry) {
    return Timer.builder("geode.function.executions")
        .description("Count and total time of successful function executions")
        .tag("function", functionId)
        .tag("succeeded", TRUE.toString())
        .register(meterRegistry);
  }
Total number of exceptions occurred while executing function
geode-core/src/main/java/org/apache/geode/internal/cache/execute/metrics/FunctionStatsImpl.java