From 169b9947873d5339543869db48fb89ff33ae6a6a Mon Sep 17 00:00:00 2001 From: "Nikhil Chitlur Navakiran (from Dev Box)" Date: Tue, 9 Jun 2026 10:31:32 -0600 Subject: [PATCH] Copy service.name baggage onto all span attributes The service.name baggage value (set via BaggageBuilder.OperationSource) was never copied onto span attributes because it was missing from ActivityProcessor's allow-list. Add ServiceNameKey to AttributeKeys so it is applied to all spans when set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../Runtime/Tracing/Processors/ActivityProcessor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Observability/Runtime/Tracing/Processors/ActivityProcessor.cs b/src/Observability/Runtime/Tracing/Processors/ActivityProcessor.cs index d7498da3..6b4ee325 100644 --- a/src/Observability/Runtime/Tracing/Processors/ActivityProcessor.cs +++ b/src/Observability/Runtime/Tracing/Processors/ActivityProcessor.cs @@ -42,6 +42,7 @@ public sealed class ActivityProcessor : BaseProcessor OpenTelemetryConstants.UserNameKey, OpenTelemetryConstants.UserEmailKey, OpenTelemetryConstants.CallerClientIpKey, + OpenTelemetryConstants.ServiceNameKey, }; private static readonly string[] InvokeAgentAttributeKeys = new[]