View Source OpenTelemetry.SemConv.Incubating.EventAttributes (OpenTelemetry.SemConv v1.27.0)

OpenTelemetry Semantic Conventions for Event attributes.

Summary

Functions

Identifies the class / type of event.

Functions

@spec event_name() :: :"event.name"

Identifies the class / type of event.

Value type

Value must be of type atom() | String.t().

Notes

Event names are subject to the same rules as attribute names. Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes.

Examples

["browser.mouse.click", "device.app.lifecycle"]
iex> OpenTelemetry.SemConv.Incubating.EventAttributes.event_name()
:"event.name"