...
Counter Name | Type | Description |
---|---|---|
lwc-call-count | accum,array | The number of API calls. |
lwc-connect | qbusy, array | The amount of time spent connecting to the remote API endpoint. |
lwc-serialize | qbusy, array | The amount of time spent serializing the API request (converting the structured IPM to JSON format). |
lwc-sign | qbusy, array | The amount of time spent signing the API request, when required. |
lwc-request | qbusy, array | The amount of time spent sending the request to the remote API endpoint. |
lwc-response | qbusy, array | The amount of time spent receiving the response from the remote API endpoint. |
lwc-deserialize | qbusy, array | The amount of time spent de-serializing the API response (converting the JSON formatted message to the structured IPM format). |
lwc-diag-log | qbusy, array | The amount of time spent generating the diagnostic log. |
lwc-msg-log | qbusy, array | The amount of time spent filtering and delivering the message logging events. |
lwc-total | qbusy, array | The total amount of time spent processing the request and response. This value may not exactly match the sum of the other busy counters due to some miscellaneous processing not measured by the other counters. Note that the total time does not account for time spent waiting for the remote API service endpoint to respond. |
...
Code Block | ||
---|---|---|
| ||
> VOLUME <lwc-installation-subvolume>
> MEASCOM
+ add userdef CLIENT
== where ARRAY 10, for example, represents the number of
== operations in the API in use; each one has its own count
+ add counter lwc-call-count, process client, accum, array 10
+ add counter lwc-connect, process client, qbusy, array 10
+ add counter lwc-serialize, process client, qbusy, array 10
+ add counter lwc-sign, process client, qbusy, array 10
+ add counter lwc-request, process client, qbusy, array 10
+ add counter lwc-response, process client, qbusy, array 10
+ add counter lwc-deserialize, process client, qbusy, array 10
+ add counter lwc-diag-log, process client, qbusy, array 10
+ add counter lwc-msg-log, process client, qbusy, array 10
+ add counter lwc-total, process client, qbusy, array 10
+ start measurement LWCMEAS
== run your application
+ stop measurement LWCMEAS
+ list userdef *, rate off
|
...