View Source OpenTelemetry.SemConv.Incubating.CloudeventsAttributes (OpenTelemetry.SemConv v1.27.0)
OpenTelemetry Semantic Conventions for Cloudevents attributes.
Summary
Functions
The event_id uniquely identifies the event.
The source identifies the context in which an event happened.
The version of the CloudEvents specification which the event uses.
The subject of the event in the context of the event producer (identified by source).
The event_type contains a value describing the type of event related to the originating occurrence.
Functions
@spec cloudevents_event_id() :: :"cloudevents.event_id"
The event_id uniquely identifies the event.
Value type
Value must be of type atom() | String.t()
.
Examples
["123e4567-e89b-12d3-a456-426614174000", "0001"]
iex> OpenTelemetry.SemConv.Incubating.CloudeventsAttributes.cloudevents_event_id()
:"cloudevents.event_id"
?CLOUDEVENTS_EVENT_ID.
'cloudevents.event_id'
@spec cloudevents_event_source() :: :"cloudevents.event_source"
The source identifies the context in which an event happened.
Value type
Value must be of type atom() | String.t()
.
Examples
["https://github.com/cloudevents", "/cloudevents/spec/pull/123", "my-service"]
iex> OpenTelemetry.SemConv.Incubating.CloudeventsAttributes.cloudevents_event_source()
:"cloudevents.event_source"
?CLOUDEVENTS_EVENT_SOURCE.
'cloudevents.event_source'
@spec cloudevents_event_spec_version() :: :"cloudevents.event_spec_version"
The version of the CloudEvents specification which the event uses.
Value type
Value must be of type atom() | String.t()
.
Examples
1.0
iex> OpenTelemetry.SemConv.Incubating.CloudeventsAttributes.cloudevents_event_spec_version()
:"cloudevents.event_spec_version"
?CLOUDEVENTS_EVENT_SPEC_VERSION.
'cloudevents.event_spec_version'
@spec cloudevents_event_subject() :: :"cloudevents.event_subject"
The subject of the event in the context of the event producer (identified by source).
Value type
Value must be of type atom() | String.t()
.
Examples
mynewfile.jpg
iex> OpenTelemetry.SemConv.Incubating.CloudeventsAttributes.cloudevents_event_subject()
:"cloudevents.event_subject"
?CLOUDEVENTS_EVENT_SUBJECT.
'cloudevents.event_subject'
@spec cloudevents_event_type() :: :"cloudevents.event_type"
The event_type contains a value describing the type of event related to the originating occurrence.
Value type
Value must be of type atom() | String.t()
.
Examples
["com.github.pull_request.opened", "com.example.object.deleted.v2"]
iex> OpenTelemetry.SemConv.Incubating.CloudeventsAttributes.cloudevents_event_type()
:"cloudevents.event_type"
?CLOUDEVENTS_EVENT_TYPE.
'cloudevents.event_type'