Debugging Your Layers

White Label Data provides a profiling tool that allows you to inspect the rendering process of your visualizations in real time. It provides visibility into each step of the pipeline and the figure rendering process. This feature is enabled through your user profile in Auth0 and is not typically available to normal users.

Enabling Profiling

Login to the Auth0 management page:

Select a user that should have the profiling feature enabled and edit the app_metadata for that user. You should add the following to their app_metadata:

	"enable_profiling": true

Accessing the Visualization Profile Page

When profiling is enabled, all visualizations on a page with have a new symbol, an ‘i’ in a circle that brings up the profile for that visualization. It will show each step of the pipeline, the DataFrames that are generated, the figure before and after mapping, and the final visualization.

Clicking on the icon will open up a new tab containing the profile for the visualization.

Profile Information

The left hand navigation shows each of the pipeline steps, the figure and mappings, and the final visualizations. As you step through each menu option, you will see some of the following tabs:

Tab Description
Summary The configuration associated with that step of the pipeline or mappings. This info is read directly from the Layer files. Error messages and stack traces are also shown here if they occur.
Filters The current filters. These include both page filters and user attributes at the time that the visualization is rendered. Only some of those filters may be incorporated into the queries.
Mappings The list of mappings and any error messages associated with mapping data onto the figure.
Input Dataframes A sample of 10 rows from each of the input DataFrames at the step within the process.
Output Dataframes A sample of 10 rows from each of the output DataFrames at that step in the process.
Unmapped Figure The figure, without any data mapped into it, as it is read from the Layer files.
Mapped Figure The figure, after the mapping rules have been applied, showing the data inline with the figure.