Semantic Convention for event attributes

Status: Experimental

This document describes the attributes of standalone Events that are represented by LogRecords. All standalone Events have a name and a domain. The Event domain is a namespace for event names and is used as a mechanism to avoid conflicts of event names.

AttributeTypeDescriptionExamplesRequirement Level
event.namestringThe name identifies the event.click; exceptionRequired
event.domainstringThe domain identifies the context in which an event happened. An event name is unique only within a domain. [1]browserRequired

[1]: An event.name is supposed to be unique only in the context of an event.domain, so this allows for two events in different domains to have same event.name, yet be unrelated events.

event.domain has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.

ValueDescription
browserEvents from browser apps
deviceEvents from mobile apps
k8sEvents from Kubernetes