A user session—also known as a "visit," "journey," or "clickpath"—is a sequence of user actions that are performed by the same user in your application during a limited period of time. A single session typically includes multiple page or view loads, third-party content requests, service requests, and user actions such as clicks or taps. Each user session includes at least one user navigation or one user action.
The session provides a summary of the user events and interactions with your application, as well as errors, properties, and other metadata. It does this by monitoring all events and generating aggregates from them.
Semantic conventions for the user session model. The experimental label of some fields indicates that they're not yet stable and may change in the future. Also, this data model may evolve in the future by adding new fields. Times are cluster times; this is the time in the cluster's clock when the event was created.
Searches for all user sessions.
fetch user.sessions
| Attribute | Type | Description | Examples |
|---|---|---|---|
| duration | experimentalThe difference between |
|
| string | experimentalThe reason why the user session was closed. |
|
| timestamp | experimentalEnd time of a data point. Value is a UNIX Epoch time in nanoseconds and greater than or equal to the |
|
| long | experimentalThe number of navigation events. |
|
| long | experimentalThe number of page summary events. |
|
| long | experimentalThe number of request events. |
|
| timestamp | experimentalStart time of the user event. The value is a UNIX Epoch time in nanoseconds and less than or equal to the |
|
| long | experimentalThe number of user action events. |
|
| long | experimentalThe number of user interaction events. |
|
| long | experimentalThe number of view summary events. |
|
end_reason MUST be one of the following:
| Value | Description |
|---|---|
| The user session reached the maximum duration |
| The synthetic execution finished |
| The user session timed out |
| Attribute | Type | Description | Examples |
|---|---|---|---|
| record | experimentalContains the value for the session property named |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| boolean | experimentalIf set to |
|
| boolean | deprecatedPrimary characteristic: If set to |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| long | experimentalThe number of ANR (Application Not Responding) errors. |
|
| long | experimentalThe overall number of errors. |
|
| long | experimentalThe number of CSP rule violations. |
|
| long | experimentalThe total number of exceptions that are observed, including exceptions that are not captured. |
|
| boolean | experimental |
|
| long | experimentalThe number of HTTP request errors with an |
|
| long | experimentalThe number of HTTP request errors with an |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | resource experimentalThe application's publicly visible version number, as, for example, displayed in App Store or Google Play. Usually this is just the major and minor version with no patch number. |
|
| string | resource experimentalThe application's internal build number, which can include information such as patch number and build number. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | resource experimentalThe browser name. |
|
| string | resource experimentalThe browser version. |
|
| long | experimentalThe browser window's inner height, in pixels. |
|
| long | experimentalThe browser window's inner width, in pixels. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | resource experimentalThe OS name in a short, human-readable format. |
|
| string | resource experimentalThe complete OS version, including patch, build, and other information. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| boolean | resource experimentalIf set to |
|
| string | resource experimentalThe device manufacturer. |
|
| string | resource experimentalThe device model identifier. |
|
| long | resource experimentalThe device's screen height in its natural orientation. |
|
| long | resource experimentalThe device's screen width in its natural orientation. |
|
| string | resource experimentalThe type of the device. |
|
device.type MUST be one of the following:
| Value | Description |
|---|---|
| Desktop device, for example, a PC or a game console. |
| Mobile device, for example, a smartphone or a tablet. |
| Attribute | Type | Description | Examples |
|---|---|---|---|
| ipAddress | experimentalThe IP address of the client that makes the request. This can be IPv4 or IPv6.Tags: |
|
| string | experimentalThe name of the Internet Service Provider (ISP) associated with the client's IP address. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| array | experimentalThe entity IDs of type APPLICATION or MOBILE_APPLICATION based on |
|
| string | experimentalThe application type determined based on |
|
| string | resource experimentalThe RUM application instance ID. (This was formerly called the "Visitor id", "internal user ID", and "rxVisitor cookie value".) |
|
| string | experimentalA unique ID that represents the user session. |
|
| string | resource experimentalThe RUM user type. |
|
dt.rum.application.type MUST be one of the following:
| Value | Description |
|---|---|
| A hybrid application |
| A mobile application |
| A web application |
dt.rum.user_type MUST be one of the following:
| Value | Description |
|---|---|
| The user event was produced by a real user. |
| The user event was produced by a bot user. |
| The user event was produced by a synthetic test. |
| Attribute | Type | Description | Examples |
|---|---|---|---|
| long | experimentalThe size of the retained data point in bytes. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | resource experimentalThe two-letter country code. The format complies with ISO 3166-1 alpha-2. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | resource experimentalIdentifies the source (such as API endpoints or OneAgent) used for ingesting the record into OpenPipeline. |
|
User session synthetic fields are available only when dt.rum.user_type is SYNTHETIC.
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | resource stableAn entity ID of an entity of type SYNTHETIC_LOCATION.Tags: |
|
| string | resource stableAn entity ID of an entity of type SYNTHETIC_TEST.Tags: |
|
| string[] | resource stableAn array of entity IDs of an entity of type SYNTHETIC_TEST_STEP.Tags: |
|
| array | experimentalIDs of monitored entities. |
|
| timestamp | experimentalThe end timestamp of the step/monitor execution as reported by executor. |
|
| timestamp | experimentalThe start timestamp of the step/monitor execution as reported by executor. |
|
| string | stableUnique identifier string of an event; is stable across multiple refreshes and updates. |
|