From 85809e285c9b4cb8ed70b5f4c267819b3e53e1b0 Mon Sep 17 00:00:00 2001 From: James Thompson Date: Mon, 21 Jul 2025 11:43:51 +1000 Subject: [PATCH] #850 Scope don't need attributes --- crates/weaver_semconv/src/group.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/weaver_semconv/src/group.rs b/crates/weaver_semconv/src/group.rs index eeab6c52e..29e4d888c 100644 --- a/crates/weaver_semconv/src/group.rs +++ b/crates/weaver_semconv/src/group.rs @@ -162,6 +162,7 @@ impl GroupSpec { // All types, except metric and event, must have extends or attributes or both. if self.r#type != GroupType::Metric && self.r#type != GroupType::Event + && self.r#type != GroupType::Scope && self.extends.is_none() && self.attributes.is_empty() {