Newer Version Available

This content describes an older version of this product. View Latest

Apex Execution Event Type

Apex Execution events contain details about Apex classes that are used.

For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer’s Guide.

Fields

Field Details
CALLOUT_TIME
Type
Number
Description
The execution time of the external Apex calls, in milliseconds.
CLIENT_IP
Type
String
Description
The IP address of the client that’s using Salesforce services. A Salesforce internal IP (such as a login from Salesforce Workbench or AppExchange) is shown as “Salesforce.com IP”.
Example
96.43.144.26
CPU_TIME
Type
Number
Description
The CPU time in milliseconds used to complete the request. This field indicates the amount of activity taking place in the app server layer, highlighting pieces of Apex or Visualforce code that need refactoring.
DB_TOTAL_TIME
Type
Number
Description
The time in nanoseconds for a database round trip. Compare this field to CPU_TIME to determine whether performance issues are occurring in the database layer or in your own code.
ENTRY_POINT
Type
String
Description
The entry point for this Apex execution.
Example
  • GeneralCloner.cloneAndInsertRecords
  • VF- /apex/CloneUser
EVENT_TYPE
Type
String
Description
The type of event. The value is always ApexExecution.
EXEC_TIME
Type
Number
Description
The end-to-end Apex execution time.
LOGIN_KEY
Type
String
Description
The string that ties together all events in a given user’s login session. It starts with a login event and ends with either a logout event or the user session expiring.
Example
GeJCsym5eyvtEK2I
NUMBER_SOQL_QUERIES
Type
Number
Description
The number of SOQL queries that were executed during the event.
ORGANIZATION_ID
Type
Id
Description
The 15-character ID of the organization.
Example
00D000000000123
QUIDDITY
Type
String
Description
The type of outer execution associated with this event.
Example
  • A–QueryLocator Batch Apex (Batch Apex jobs run faster when the start method returns a QueryLocator object that doesn't include related records via a subquery. See Best Practices in Using Batch Apex.)
  • BA–Batch Apex (for debugger)
  • C–Scheduled Apex
  • E–Inbound Email Service
  • F–Future
  • H–Apex REST
  • I–Invocable Action
  • K–Quick Action
  • L–Lightning
  • M–Remote Action
  • Q–Queuable
  • R–Synchronous uncategorized (which is where all transactions not specified elsewhere end up)
  • S–Serial Batch Apex
  • TA–Tests Async
  • TD–Tests Deployment
  • TS–Tests Synchronous
  • V–Visualforce
  • W–SOAP Webservices
  • X–Execute Anonymous
REQUEST_ID
Type
String
Description
The unique ID of a single transaction. A transaction can contain one or more events. Each event in a given transaction has the same REQUEST_ID.
Example
3nWgxWbDKWWDIk0FKfF5DV
RUN_TIME
Type
Number
Description
The amount of time that the request took in milliseconds.
SESSION_KEY
Type
String
Description
The user’s unique session ID. You can use this value to identify all user events within a session. When a user logs out and logs in again, a new session is started.
Example
d7DEq/ANa7nNZZVD
TIMESTAMP
Type
String
Description
The access time of Salesforce services.
Example
20130715233322.670
TIMESTAMP_DERIVED
Type
DateTime
Description
The access time of Salesforce services in ISO8601-compatible format (YYYY-MM-DDTHH:MM:SS.sssZ).
Example
2015-07-27T11:32:59.555Z
URI
Type
String
Description
The URI of the page that’s receiving the request.
Example
/home/home.jsp
URI_ID_DERIVED
Type
ID
Description
The 18-character case insensitive ID of the URI of the page that’s receiving the request.
USER_ID
Type
Id
Description
The 15-character ID of the user who’s using Salesforce services through the UI or the API.
Example
00530000009M943
USER_ID_DERIVED
Type
Id
Description
The 18-character case insensitive ID of the user who’s using Salesforce services through the UI or the API.
Example
00590000000I1SNIA0