---
schema_version: "1"
id: beaff557fdfe4879779392be838e2209d5f963af9775a8300246591f94e53099
title: Monitor Your PWA Kit Site
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/pwa-kit-managed-runtime/guides/monitor-site.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/monitor-site.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6aa5d530bd7ab50b68b3d35c8f42dadaec5a4a113f7e4684a755a732c42265da
products:
  - Composable Storefront
  - Salesforce APIs
---
# Monitor Your PWA Kit Site

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](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/reports-and-dashboards.html) 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 ![App Launcher](https://developer.salesforce.com/docs/media/shared/appLauncher.png) 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](https://help.salesforce.com/s/articleView?id=cc.b2c_technical_scapi_dashboard.htm&type=5).
  - To get insights into your site’s Open Commerce API (OCAPI) requests, check the [Technical OCAPI Dashboard](https://help.salesforce.com/s/articleView?id=cc.b2c_technical_ocapi_dashboard.htm&type=5).

**note:** Data appears in Reports & Dashboards 24 hours after any corresponding event happens.

- With [Log Center](https://help.salesforce.com/s/articleView?id=cc.b2c_log_center.htm&type=5), 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](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/debugging.html#debug-using-log-center).
  - Set up [notifications](https://help.salesforce.com/s/articleView?id=cc.b2c_save_a_search_rule.htm&type=5) so you can find out when your storefront is functioning abnormally and investigate. Consider setting up a [Search with Notifications](https://help.salesforce.com/s/articleView?id=cc.b2c_search_for_issues_in_log_center.htm&type=5) for the [`HookInvocationException`](https://developer.salesforce.com/docs/commerce/commerce-api/guide/extensibility_via_hooks.html) in Log Center.
  - For detailed information about hook timing, [collect request/response details](https://developer.salesforce.com/docs/commerce/commerce-api/guide/collect-request-details.html) by adding the HTTP request header `sfdc_verbose: true`. Hook timing is logged to Log Center.
  - Set up [Log Center Streaming](https://help.salesforce.com/s/articleView?id=cc.b2c_set_up_log_streaming.htm&type=5) to turn on enterprise-scale monitoring and automation and to stream logs to third-party log aggregation tools.
  - [View Shopper Login and API Access Service (SLAS) Error Logs in Log Center](https://developer.salesforce.com/docs/commerce/commerce-api/guide/slas.html#view-slas-error-logs-in-log-center).

- You can resolve performance issues in your custom pipelines and code by using [Pipeline Profiler](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-troubleshooting-platform-performance.html) and [Code Profiler](https://developer.salesforce.com/docs/commerce/commerce-api/guide/code-profiler.html).

## More Monitoring Tools

Here are additional tools that you can optionally use to monitor the performance of your PWA Kit site.

### Understand the Performance of API Hooks

If your hooks make external service calls, monitor the availability of downstream services by using [Web Service Performance and Incident Analysis](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-webservices.html#web-service-performance-and-incident-analysis).

You can also review the logs generated from your services. See [Web Service Logging and Troubleshooting](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-webservices.html#web-service-logging-and-troubleshooting). Then you can [build notifications](https://help.salesforce.com/s/articleView?id=cc.b2c_save_a_search_rule.htm&type=5) in Log Center for your chosen logs.

### Understand the Performance of Backend Jobs

Check the [Job Statistics](https://help.salesforce.com/s/articleView?id=cc.b2c_monitor_job_stats.htm&type=5) page in Business Manager. See [Jobs](https://help.salesforce.com/s/articleView?id=cc.b2c_job_creation_management.htm&type=5).

Production jobs are usually order export, async operations and sometimes high-scale price book imports.

Staging jobs are usually catalog and price book. Remember to also monitor jobs in staging.

### Integrate your Site with Your Application Performance Monitoring (APM) Tool

Poll the OCAPI Admin API [Search Job Executions](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/ocapi-data-job-execution-search?meta=Search%2BJob%2BExecutions) and push the output data to an APM.

Set up [Embedded Content Delivery Network (eCDN) Log Push](https://developer.salesforce.com/docs/commerce/commerce-api/guide/cdn-zones-logpush.html).

### Set up Real-time Performance and Error Alerts

If you have the Signature Success Plan, turn on [Proactive Services](https://help.salesforce.com/s/articleView?id=000392833&type=1).

### Identify the Root Cause of a SCAPI Request Timeout

Follow the steps in [Troubleshoot Request Timeouts](https://developer.salesforce.com/docs/commerce/commerce-api/guide/timeout-troubleshoot.html).

Include the `correlationID` identified in [Troubleshoot Request Timeouts](https://developer.salesforce.com/docs/commerce/commerce-api/guide/timeout-troubleshoot.html) if you need to open a support case.

## See Also

- [Pre-Build and Go-Live Best Practices Checklist](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pwa-best-practices.html)
- [Debug PWA Kit Apps](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/debugging.html)
