Performance logger
The performance logger produces trace information about the response time when HCL Commerce calls out to an external system. The trace can be used by a monitor to measure
response times.
The trace is enabled using the following string:
com.ibm.commerce.performance=fine
.
The name and location of the trace file is: WAS_profiledir/logs/performanceTrace.json.
The following is a sample entry in the performance trace file, in JSON
format:
{"timestamp": "2012/10/02 23:56:38:265 EDT", "threadID": "0000009c", "source": "External OMS",
"service": "getPage-getOrderList", "serviceTime": "6188 ms"},
The following are the external service calls that are traced by default, with the API that calls
out the performance logger:
API | Source | Service |
---|---|---|
SterlingClientHelper.getOrderLineDetails() |
External OMS | getCompleteOrderDetails |
AbstractProcessInventoryRequirementActionCmdImpl.callGetInventoryAvailabilityService() |
External OMS | monitorItemAvailability |
ComposeDOMInventoryAvailabilityCmdImpl.callGetInventoryAvailabilityService() |
External OMS | monitorItemAvailability |
ProcessInventoryRequirementCancelInventoryReservationActionCmdImpl.callCancelInventoryService() |
External OMS | multiAPI-cancelReservation |
ProcessInventoryRequirementReserveInventoryActionCmdImpl.callReserveInventoryService() |
External OMS | reserveAvailableInventory |
FetchTransferredExternalOrderByStoreMemberAndStatusCmdImpl.fetchExternalOrders() |
External OMS | getPage-getOrderList |