[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:
parent
d6779bd29a
commit
79ba42b07e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue