To configure the metrics you want to include, you use a setting in portal-ext.properties. This setting applies to both the metrics log file and the Performance Metrics page.
It handles configuration updates, configuration persistence, and Dgraph queries. The server-side code generates results to send back to the client-side code.
Server executions include component render, resource, and action requests.
By default, only the Dgraph queries and component server executions are included.
df.performanceLogging=<metrics to include>
Value | Description |
---|---|
QUERY | If this value is included, then the page includes information for Dgraph queries. |
PORTLET | If this value is included, then the page includes information on component server executions. |
CLIENT | If this value is included, then the page includes information on component client executions. |
df.performanceLogging=QUERY,PORTLET
df.performanceLogging=QUERY,PORTLET,CLIENTNote that for performance reasons, this configuration is not recommended.
df.performanceLogging=