From 4a93b1e867cc7cbb0ae4efa1f162c861f6dd56f4 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Thu, 10 Oct 2024 17:26:56 -0400 Subject: [PATCH] Fix missed file for test. --- crates/weaver_semconv/data/cloudevents.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/crates/weaver_semconv/data/cloudevents.yaml b/crates/weaver_semconv/data/cloudevents.yaml index 8ee54c59..df629b3c 100644 --- a/crates/weaver_semconv/data/cloudevents.yaml +++ b/crates/weaver_semconv/data/cloudevents.yaml @@ -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).