Business event enrichment

Dynatrace SaaS version 1.253+

Dynatrace automatically enriches business events with additional context to enhance analysis and facilitate drill-down navigation. Specifically, Dynatrace adds certain properties to your business events, for example, information on geolocation, operating system, application, and more. You can then use Dynatrace Query Language (DQL) to analyze your business events.

OneAgent and external business event enrichment

Fields defined in the table below can be used to enrich business events. Some fields are automatically added depending on their source (OneAgent or API).

Key

Added via

Description

Example

Data type

timestamp1

OneAgent

Time when the event originated, typically when it was created by the source2

11/21/2022 8:53:58 AM

timestamp

time1

API

Time when the event originated, typically when it was created by the source2

11/21/2022 8:53:58 AM

timestamp

dt.entity.host

OneAgent

Host where OneAgent captured the event

HOST-2F700D78236C40D6

string

dt.entity.process_group_instance

OneAgent

Process group instance where OneAgent captured the event

PROCESS_GROUP_INSTANCE-6E5F1839CADBEC98

string

event.id3

OneAgent

API

Unique identifier of the event autogenerated by Dynatrace (for OneAgent)

iejRl3Li8kN_7uIekdUvQ

string

event.kind

OneAgent

API

High-level kind of the event; the field is always set to BIZ_EVENT regardless of the ingested value.

BIZ_EVENT

string

event.provider1

OneAgent

API

Source of the event, for example, the name of the component or system that generated the event; the default value is Unknown.

www.easytrade.com

string

event.type1

OneAgent

API

Event type identifier; the default value is Unknown.

com.easytrade.get-instruments

string

event.category

OneAgent

API

Event category; the default value is Other.

Other

string

span_id

OneAgent

ID of the request as known by the caller; autogenerated by Dynatrace

c1a6d280f407fba9

string

trace_id

OneAgent

ID of the whole trace forest that is used to uniquely identify a distributed trace through a system; autogenerated by Dynatrace

c21f35f1c5a639eef472961f0513ead8

string

trace_sampled

OneAgent

Indicates if the caller has recorded the trace data; autogenerated by Dynatrace

TRUE

bool

traceparent

OneAgent

Field that identifies the incoming request in a tracing system; autogenerated by Dynatrace

00-c21f35f1c5a639eef472961f0513ead8-c1a6d280f407fba9-01

string

1

Not an enriched field per se, but required by the Dynatrace internal schema

2

If no original timestamp is available, it's populated at ingest time.

3

Set by OneAgent and required by CloudEvents specification, but not enforced by the Dynatrace internal schema

RUM business event enrichment

Business events reported via RUM are enriched with fields relevant to the device and user, such as geolocation, device, browser, and application. The following fields are added automatically, depending on the application type—web or mobile.

Top-level fields

The top-level fields contain generally relevant information for all events and data points.

Key

Description

Example

Data type

Override possible

Required or optional

Available for

timestamp

Time when the event originated, typically when it was created by the source1

1649822520123123123

timestamp2

Applicable

req

Available for web applications Available for mobile applications

1

If no original timestamp is available, it's populated at ingest time.

2

Unix timestamp in nanoseconds

Event fields

The event namespace contains common identification, categorization, and context on events in Dynatrace.

Key

Description

Example

Data type

Override possible

Required or optional

Available for

event.type1

Type identifier of the event

com.easytravel.funnel.booking-finished

string

N/A

req

Available for web applications Available for mobile applications

event.id

Unique identifier of the event

5547782627070661074_1647601320000

string

Not applicable

req

Available for web applications Available for mobile applications

event.kind

High-level kind of the event

BIZ_EVENT

string

Not applicable

opt

Available for web applications Available for mobile applications

event.provider

Source of the event, for example, the name of the component or system that generated the event2

www.easytravel.com

string

Applicable

opt

Available for web applications Available for mobile applications

1

Not enriched automatically; you set it via API when you report a business event.

2

Full domain name for web, app bundle for mobile, and application ID for OpenKit

Dynatrace RUM fields

The dt.rum namespace contains Dynatrace RUM-specific fields.

Key

Description

Example

Data type

Override possible

Required or optional

Available for

dt.rum.schema_version

Version of the event

1.0

string

Not applicable

req

Available for web applications Available for mobile applications

dt.rum.application.id

ID of the Dynatrace RUM application

ea7c4b59f27d43eb

string

Not applicable

req

Available for web applications Available for mobile applications

dt.rum.instance.id

ID of the RUM application instance1

3735928559

string

Not applicable

req2

Available for web applications Available for mobile applications

dt.rum.session.id

ID of the user session

HOPCPWKILUKHFHWRRQGBHHPAFLUJUOSH-0

string

Not applicable

req2

Available for web applications Available for mobile applications

1

Also known as the internal user ID or visitor ID

2

If available

Device fields

The device namespace contains information on the device running an application.

Key

Description

Example

Data type

Override possible

Required or optional

Available for

device.manufacturer

Name of the device manufacturer

Apple

string

Applicable

opt

Not available for web applications Available for mobile applications

device.model.identifier

Model identifier of the device

iPhone3,4

string

Applicable

opt

Not available for web applications Available for mobile applications

device.is_rooted

Indicates if a rooted device was detected.

true

bool

Applicable

opt

Not available for web applications Available for mobile applications

OS fields

The os namespace contains information on the operating system running an application.

Key

Description

Example

Data type

Override possible

Required or optional

Available for

os.name

Operating system name

iOS

string

Applicable

opt

Available for web applications Available for mobile applications

os.version

Operating system version

15.3.1

string

Applicable

opt

Not available for web applications Available for mobile applications

Browser fields

The browser namespace contains information on the browser running an application.

Key

Description

Example

Data type

Override possible

Required or optional

Available for

browser.name

Browser name

Mozilla

string

Applicable

opt

Available for web applications Not available for mobile applications

browser.version

Detected browser version

5.0

string

Applicable

opt

Available for web applications Not available for mobile applications

browser.type

Type of browser1

desktop

string

Applicable

opt

Available for web applications Not available for mobile applications

browser.user_agent

Full user agent string as provided by the browser

Mozilla/5.0 (Windows NT 10.0; Win64; x64)

string

Applicable

opt

Available for web applications Not available for mobile applications

1

Possible values: desktop, mobile, tablet, robot, other

Client fields

The client namespace contains information on the initiator of a network connection.

Key

Description

Example

Data type

Override possible

Required or optional

Available for

client.ip

IP address of the client (IPv4 or IPv6)

126.32.196.104

string

Applicable

opt

Available for web applications Available for mobile applications

Application fields

The app namespace contains information on the application sending the business event.

Key

Description

Example

Data type

Override possible

Required or optional

Available for

app.version

Full machine-readable version of the application

5.23.15789

string

Applicable

opt

Not available for web applications Available for mobile applications

app.short_version

Short human-readable version of the application

5.23

string

Applicable

opt

Not available for web applications Available for mobile applications

app.bundle

Name of the bundle or package

com.example.easytravel

string

Applicable

opt

Not available for web applications Available for mobile applications

Geolocation fields

The geo namespace contains geolocation information.

Key

Description

Example

Data type

Override possible

Required or optional

Available for

geo.continent.name

Full continent name

North America

string

Applicable

opt

Available for web applications Available for mobile applications

geo.country.name

Full country name

Canada

string

Applicable

opt

Available for web applications Available for mobile applications

geo.region.name

Full region name

Quebec

string

Applicable

opt

Available for web applications Available for mobile applications

geo.city.name

Full city name

Montreal

string

Applicable

opt

Available for web applications Available for mobile applications