opentracing / opentracing-javascript

OpenTracing API for Javascript (both Node and browser). 🛑 This library is DEPRECATED! https://github.com/opentracing/specification/issues/163
http://opentracing.io
Apache License 2.0
1.09k stars 145 forks source link

SpanContext should expose a proper traceId and spanId #148

Closed gianpierocondorelli closed 4 years ago

gianpierocondorelli commented 4 years ago

Currently the class SpanContext returns blank strings if are made calls to getTraceId() or getSpanId(). So if it's wanted to log those two params for connecting logs to the actual tracing is currently impossible.

Is there a reason why those two methods return a blank string?