Use observability tools to monitor the performance of your Progressive Web App (PWA) Kit site. Site performance is a shared responsibility model: you’re responsible for the performance of project customizations and Salesforce is responsible for the performance of the B2C Commerce platform.
This guide summarizes how to use platform and third-party tools to monitor the performance of your PWA Kit site.
Key Monitoring Tools
Here are the main tools that we recommend you use to monitor your PWA Kit site.
B2C Commerce Reports & Dashboards provide data that you can use to identify trends over time and to make smarter business decisions based on your B2C Commerce data. Use Reports & Dashboards to understand general trends in your API response times.
To see the load on your B2C Commerce instance, click App Launcher and then select Reports & Dashboards > Real Time > Sales & Performance.
Get insights into your site’s Salesforce Commerce API (SCAPI) requests, by checking the Technical SCAPI Dashboard.
To get insights into your site’s Open Commerce API (OCAPI) requests, check the Technical OCAPI Dashboard.
Data appears in Reports & Dashboards 24 hours after any corresponding event happens.
Note
With Log Center, you can review error logs and metrics.
Search for and view logs generated by Managed Runtime (MRT) and PWA Kit projects. See Debug Using Log Center.
For detailed information about hook timing, collect request/response details by adding the HTTP request header sfdc_verbose: true. Hook timing is logged to Log Center.
Set up Log Center Streaming to turn on enterprise-scale monitoring and automation and to stream logs to third-party log aggregation tools.