Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Concurrent Long-Running Apex Limit Event Type
For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer’s Guide.
Fields
| Field | Details |
|---|---|
| EVENT_TYPE | |
| NUMBER_REQUESTS |
|
| ORGANIZATION_ID |
|
| REQUEST_ID | |
| REQUEST_URI |
|
| REQUESTS_LIMIT |
|
| TIMESTAMP |
|
| TIMESTAMP_DERIVED |
|
| USER_ID |
Usage
For example, you can monitor Concurrent Long-Running Apex Limit log counts to get a benchmark or plot a count by hour. To identify where the limit was exceeded, see the REQUEST_URI field. Then, cross-reference this data with Apex Execution event data where the average RUN_TIME exceeds 5 seconds. To identify synchronous requests only, cross-reference event data with the QUIDDITY field in Apex Execution event data. For example, QUIDDITY NOT IN (A,BA,F,Q,S) and CALLOUT_TIME (>5000).