diff --git a/src/OpenTelemetry.Exporter.Console/CHANGELOG.md b/src/OpenTelemetry.Exporter.Console/CHANGELOG.md index 651871c8984..9048345ee19 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.1 Released 2021-Feb-10 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) {