Potentially we can add a wrapper that can be used to trace arbitrary functions. Server functions should be traced by instrumenting the server entry point, but for instance I am not sure if this is still going to work if we have server functions calling other server functions. For such instances it might be useful to have a fallback for users. Need to check if this even makes sense in this context.