Skip to main content
This article goes over attaching a profiler and how you can get the output files. A profiler is used to help debug issues around graphics and performance of your game servers. To use tools such as dotnet trace or PIX you’ll need to first upload your profiler of choice. Then you’ll associate it to a build, and the output files will be put into your logs folder. It isn’t recommended to attach a profiler to production builds as it can affect performance. Set up for attaching a profiler will need to be done at build creation. We currently don’t support attaching a profiler through Game Manager so you’ll need to create a build using our APIs. For more information, see Walkthrough: Deploy builds using PowerShell/API. When creating a build, there’s a field for asset reference under the monitoring configuration. Include the asset reference in the monitoring configuration. Ensure your asset is uploaded in Game Manager. To learn more, see Manage assets in Build Overview. For a Linux server, below is a sample of an execution script for the profiler.
Script
For a windows server below is a sample of an execution script for the profiler.
  • Make sure you save your output inside the folder set on the PF_MONITORING_LOG_FOLDER environment variable as it will ensure your output is saved.
  • Once the server has been archived, you can download the logs and inside you’ll find a folder called PlayfabProfilingOutput. This will have what you have written in your execution script along with any standard outputs and errors.
Last modified on August 4, 2026