For details on mapping files for Android and symbol files for iOS or tvOS, see Upload and manage symbol files for mobile applications.
- In the Dynatrace menu, go to Web, and select the application that you want to analyze.
- Select the Errors tile, and scroll down to the Top errors section.
Under Error details, you can view the corresponding stack trace of the error. Error details are grouped by browser type.
- Select Expand to open a stack frame for analysis.
Automatic download of source maps
Dynatrace attempts to download all available source map files automatically as follows:
- After the file is downloaded, Dynatrace checks whether it contains a source map reference such as
//# sourceMappingURL=http://example.com/path/to/your/sourcemap.map. Dynatrace can display the exact line number that caused the error in the successfully downloaded minified file.
If a source map contains a source map reference, Dynatrace automatically downloads it.
For the downloads to work, both files need to be publicly accessible.
You can identify all download requests made by Dynatrace by checking the
User-agent string, which is
ruxit server in both cases.
Upload the source file if you're also interested in reading developer comments, which are usually stripped away during minification and obfuscation.
Upload source maps
All available source files are listed under Settings > Web and mobile monitoring > Source maps and symbol files.
In the Dynatrace menu, go to Web, and select the application that you want to configure.
Select the Errors tile, and scroll down to the Top errors section.
Scroll down to Stack trace, and select Expand to open a stack frame.
Select Upload source map.
Note that you can upload a symbol file of up to 100 MiB compressed; the uncompressed file must not exceed 500 MiB.
Manage source maps
You can use the Dynatrace web UI to manage the previously uploaded source maps.
To list the uploaded source maps and symbol files for all your applications
- In the Dynatrace menu, go to Settings.
- Select Web and mobile monitoring > Source maps and symbol files.
The page displays the amount of storage that is currently used and the storage limit. When the storage limit is reached, Dynatrace begins deleting source maps and symbol files, starting with the oldest ones.
For Dynatrace SaaS, the maximum storage size for source maps and symbol files is 1 GiB.
To free up space, you can manually delete files that you no longer need. Select Delete in the row of the file you want to delete.
To prevent files from being automatically deleted when the storage limit is reached, turn on Pinned for the source maps and symbol files that you want to keep.