Issue
I want to set up tracing for my Unreal Engine project, including distributed tracing between my Unreal app and my server backend, which also runs Sentry.
Applies To
All SaaS Customers and Self-Hosted Users
Tracing
Unreal Engine SDK
Resolution
Yes, the Unreal Engine SDK supports tracing, including distributed tracing across your backend services.
To set up tracing:
Enable tracing by setting a sample rate. Set
TracesSampleRateto a value between0and1, or provide aTracesSamplerfunction for dynamic sampling. See Set Up Tracing.Create transactions and spans with custom instrumentation to capture the operations you care about.
For distributed tracing between your Unreal app and your server backend, follow trace propagation so Sentry propagates the
sentry-traceandbaggageheaders between services. Every service in the trace must run a Sentry SDK.
Note: The Unreal SDK also emits automatic performance metrics, such as frame time and FPS. These are enabled by default in Unreal SDK 1.11.0 and later.
