We use AWS X-Ray for profiling.
I briefly looked into
OpenTelemetry, which is an open source framework for integrating with many different instrumentation tools,
including X-Ray.
Which instrumentation tool you choose of course depends on how you're running Prefect. We use AWS ECS.