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 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"
Link to this function

cloudevents_event_source()

View Source
@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"
Link to this function

cloudevents_event_spec_version()

View 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"
Link to this function

cloudevents_event_subject()

View Source
@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"
Link to this function

cloudevents_event_type()

View Source
@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"