Monitor Code
The Code Profiler is an existing Business Manager feature that allows you to monitor SCAPI API performance and determine where performance bottlenecks are in your custom code. With B2C Commerce 24.4, two new trace types are provided:
REST_SCAPI
: For SCAPI system APIs, including Shopper, Admin, and Custom APIs.REST_SCAPI_SCRIPT
: Specifically for the Custom API Scripts. Use this trace type to trace script execution and debug Custom APIs.
Both of these new trace types provide API path information and execution time.
For implementation details, see Use Code Profiler.