From 292724ebf3a2c67b8a39a9c2309bc97ddcbb4751 Mon Sep 17 00:00:00 2001 From: Utkarsh Umesan Pillai Date: Tue, 9 Feb 2021 18:41:19 -0800 Subject: [PATCH 1/2] Removed code that prints incorrect Baggage information --- .../ConsoleActivityExporter.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs b/src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs index 12e0af05e6a..e173d257c61 100644 --- a/src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs +++ b/src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs @@ -72,15 +72,6 @@ public override ExportResult Export(in Batch batch) } } - if (activity.Baggage.Any()) - { - this.WriteLine("Activity.Baggage:"); - foreach (var baggage in activity.Baggage) - { - this.WriteLine($" {baggage.Key}: {baggage.Value}"); - } - } - var resource = this.ParentProvider.GetResource(); if (resource != Resource.Empty) { From 5f6059f34a60b1a1c807d2edc9e44bc6adde12e4 Mon Sep 17 00:00:00 2001 From: Utkarsh Umesan Pillai Date: Tue, 9 Feb 2021 18:44:23 -0800 Subject: [PATCH 2/2] Updated CHANGELOG.md --- src/OpenTelemetry.Exporter.Console/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/OpenTelemetry.Exporter.Console/CHANGELOG.md b/src/OpenTelemetry.Exporter.Console/CHANGELOG.md index 9a1b96a13db..2fe9600cd77 100644 --- a/src/OpenTelemetry.Exporter.Console/CHANGELOG.md +++ b/src/OpenTelemetry.Exporter.Console/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +* Removed code that prints Baggage information + ([#1825](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1825)) + ## 1.0.0-rc4 Released 2021-Feb-09