opentelemetry.io icon indicating copy to clipboard operation
opentelemetry.io copied to clipboard

Baggage

Open cijothomas opened this issue 3 years ago • 0 comments

Couple suggestions:

  1. The contents are too trace related. Baggage can be used for all signals, not just as span attributes. Metrics can have attributes populated from baggage. Same with logs
  2. I'd recommend to use a diff. example as Activity.Current?.SetTag("AccountId", accountId) is .NET specific, which can confuse users as .NET calls its spans "Activity". Users will find it confusing. If we keep the same example, mention in code comment that Activity is .NET's representation of Span.

cijothomas avatar Oct 19 '22 04:10 cijothomas