Diagnostic panel in Portal
Diagnostics
Diagnostics helps you troubleshoot components running on a Portal page. Use it to inspect runs that are slow, return unexpected data, or fail without a clear error message.
Diagnostics shows each run, the steps performed during the run, how long each step took, and the input data used.
A run is called a trace. The individual steps within a trace are called spans.
What you can view
Traces lists components that have run on the current page, with the most recent first. Each trace shows the component and its portlet, start time, and duration. New traces appear automatically as components run.
Failed traces are marked with an error indicator. Hover over the indicator to view the error message.
Search lets you find traces by portlet name or ID, component name or ID, or trace name.
Waterfall displays the spans of the selected trace as a tree. Each span includes a bar representing its share of the total duration, making it easier to identify where time was spent. Spans containing child spans can be expanded or collapsed.
Span details displays the status, kind, duration, start time, error message, and recorded values for the selected span. Recorded values can be copied.
Input displays the data that the trace started with in a readable format. The input data can also be copied.
Enable Diagnostics
Diagnostics is disabled by default and only collects traces for actions performed after collection is enabled. To troubleshoot an issue, enable collection before reproducing it.
Open the user menu and select Diagnostic mode.
Turn on Collect telemetry in the Diagnostics panel.
Repeat the action you want to inspect.
Select the resulting trace in Traces to inspect it.
You can also open or close the Diagnostics panel by pressing Ctrl+Shift+D.
When telemetry collection is enabled, a button in the lower-right corner lets you reopen the panel after closing it. Select Clear to remove all collected traces. To resize the panel, drag its top edge.
Diagnostic data
Diagnostic data is stored locally in your browser while you work and is cleared when you navigate to another page. The data is not stored on a server.
Telemetry collection is disabled by default and is disabled again when you sign out or switch organizations.
Traces can contain the actual input data used by a component. Consider whether this data contains sensitive information before copying or sharing it.
Limitations
Apps running in the embedded web client are not included. Diagnostics only captures components running on the current Portal page.
Output data is not available. Diagnostics shows the data a trace started with, but not the data it returned.
Trace history is not retained. Diagnostics only shows traces collected on the current page, and the list is cleared when you navigate to another page.
Last updated
Was this helpful?