Skip to content

Commit

Permalink
Fix missed file for test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Oct 10, 2024
1 parent 7ccf5d2 commit 4a93b1e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions crates/weaver_semconv/data/cloudevents.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
groups:
- id: cloudevents
prefix: cloudevents
type: span
brief: >
This document defines attributes for CloudEvents.
CloudEvents is a specification on how to define event data in a standard way.
These attributes can be attached to spans when performing operations with CloudEvents, regardless of the protocol being used.
attributes:
- id: event_id
- id: cloudevents.event_id
type: string
requirement_level: required
brief: >
The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event.
examples: ['123e4567-e89b-12d3-a456-426614174000', '0001']
- id: event_source
- id: cloudevents.event_source
type: string
requirement_level: required
brief: >
The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened.
examples: ['https://github.com/cloudevents', '/cloudevents/spec/pull/123', 'my-service' ]
- id: event_spec_version
- id: cloudevents.event_spec_version
type: string
brief: >
The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses.
examples: '1.0'
- id: event_type
- id: cloudevents.event_type
type: string
brief: >
The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence.
examples: ['com.github.pull_request.opened', 'com.example.object.deleted.v2']
- id: event_subject
- id: cloudevents.event_subject
type: string
brief: >
The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source).
Expand Down

0 comments on commit 4a93b1e

Please sign in to comment.