[After 1.0 release] Remove code that prints Baggage information in ConsoleExporter (#1825)

* Removed code that prints incorrect Baggage information

* Updated CHANGELOG.md

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
This commit is contained in:
Utkarsh Umesan Pillai 2021-02-10 12:45:49 -08:00 committed by GitHub
parent d6779bd29a
commit 79ba42b07e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 9 deletions

View File

@ -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

View File

@ -72,15 +72,6 @@ namespace OpenTelemetry.Exporter
}
}
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)
{