opentracing-tutorial
opentracing-tutorial copied to clipboard
Node.js Lesson 2 code does not produce multiple spans
After working through the lesson and then adapting the solution's code over my own, it seems that multiple spans are not produced from the code in lesson 2. I don't know exactly why but I wanted to surface the issue here.
Screenshots
The tutorial itself seems to work fine:
$ node lesson02/solution/hello.js multipleSpans
INFO Initializing Jaeger Tracer with CompositeReporter and ConstSampler
INFO Reporting span e96f5c1d827792aa:e18d43177920e4d:e96f5c1d827792aa:1
Hello, multipleSpans!
INFO Reporting span e96f5c1d827792aa:35ea28684bf3326d:e96f5c1d827792aa:1
INFO Reporting span e96f5c1d827792aa:e96f5c1d827792aa:0:1
Are you seeing a different result? It was not clear if the screenshots were from a different code.