Closed huikang closed 4 years ago
The name has changed to CorrelationContext
. The difference between CorrelationContext and Span attributes are the scope. Span attributes only works for a particular span, and not propagated within the process or across services.
The description of DistributedContext says
These values can be consumed from DistributedContext and used as an additional dimension for a metric, or additional context for logs and traces.
However, I feel that the key-value entries could also be set in the attributes in a span. Could anyone help to clarify what key values should be used in distributedContext, while others in span attributes. Thanks.