Monitoring API to track execution times and to aggregate them