opentracing/opentracing-javascript

[Feature Request] forEachBaggageItems on SpanContext

meteorlxy opened this issue · 0 comments

Implementations of many other languages have something like forEachBaggageItems on SpanContext:

However, js does not:

export class SpanContext {
// The SpanContext is entirely implementation dependent
/**
* Returns a string representation of the implementation internal trace ID.
*
* @returns {string}
*/
toTraceId(): string {
return '';
}
/**
* Returns a string representation of the implementation internal span ID.
*
* @returns {string}
*/
toSpanId(): string {
return '';
}
}
export default SpanContext;